/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.124: b'355bf1bb1d9779db6e9206c045eb9092' key.get_fingerprint()))) 2018-03-04 22:42:32,703 main.py 161 INFO doctor test starting....... 2018-03-04 22:42:32,703 apex.py 38 INFO Setup Apex installer start...... 2018-03-04 22:42:32,703 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 22:42:32,740 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-04 22:42:36,260 apex.py 80 INFO Get controller_ips:['192.30.9.6'] from Apex installer 2018-03-04 22:42:36,961 apex.py 118 INFO Set apply patches start...... /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.6: b'5392810f087341194499a9c0b18d14a4' key.get_fingerprint()))) 2018-03-04 22:42:47,888 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-04 22:42:47,894 image.py 48 INFO image create start...... 2018-03-04 22:42:54,646 image.py 68 INFO image create end...... 2018-03-04 22:42:54,647 user.py 69 INFO user create start...... 2018-03-04 22:42:54,739 user.py 85 INFO create project...... 2018-03-04 22:42:54,781 user.py 95 INFO test project 2018-03-04 22:42:54,874 user.py 103 INFO create user...... 2018-03-04 22:42:55,241 user.py 113 INFO test user 2018-03-04 22:42:55,318 user.py 127 INFO role _member_ already created...... 2018-03-04 22:42:55,318 user.py 128 INFO test role 2018-03-04 22:42:55,910 user.py 77 INFO user create end...... 2018-03-04 22:42:55,911 main.py 97 INFO doctor fault management test starting....... 2018-03-04 22:42:55,911 user.py 181 INFO user quota update start...... 2018-03-04 22:42:56,578 user.py 197 INFO user quota update end...... 2018-03-04 22:42:56,578 network.py 41 INFO network create start....... 2018-03-04 22:42:57,600 network.py 47 INFO network create end....... 2018-03-04 22:42:57,600 network.py 49 INFO subnet create start....... 2018-03-04 22:42:58,271 network.py 58 INFO subnet create end....... 2018-03-04 22:42:58,272 instance.py 51 INFO instance create start...... 2018-03-04 22:43:00,301 instance.py 73 INFO instance create end...... 2018-03-04 22:43:00,301 instance.py 92 INFO wait for vm launch start...... 2018-03-04 22:43:09,231 instance.py 110 INFO wait for vm launch end...... 2018-03-04 22:43:09,231 alarm.py 45 INFO alarm create start...... 2018-03-04 22:43:10,831 alarm.py 81 INFO alarm create end...... 2018-03-04 22:43:10,831 sample.py 72 INFO sample inspector start...... 2018-03-04 22:43:11,771 sample.py 26 INFO sample consumer start...... * Running on http://0.0.0.0:12346/ (Press CTRL+C to quit) * Running on http://0.0.0.0:12345/ (Press CTRL+C to quit) 2018-03-04 22:43:12,613 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-04 22:43:16,226 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-04 22:43:16,227 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-03-04 22:43:16,228 sample.py 30 INFO sample monitor start...... 2018-03-04 22:43:16,228 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-04 22:45:16,329 network_failure.py 39 INFO fault inject start...... 2018-03-04 22:45:16,330 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 22:45:16,330 apex.py 55 INFO Already have SSH keys from Apex installer...... /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.7: b'65ddf1e90abd7f0388b84755f961da04' key.get_fingerprint()))) 2018-03-04 22:45:16,410 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-04 22:45:16,600 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-04 22:45:16,650 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-04 22:45:16,651 network_failure.py 42 INFO fault inject end...... 2018-03-04 22:45:17,817 sample.py 97 INFO doctor monitor detected at 1520203517.8172708 2018-03-04 22:45:17,817 sample.py 41 INFO sample monitor report error...... 2018-03-04 22:45:17,825 sample.py 163 INFO event posted in sample inspector at 1520203517.8257124 2018-03-04 22:45:17,826 sample.py 164 INFO sample inspector = 2018-03-04 22:45:17,826 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-04T22:45:17.817851", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-04 22:45:18,209 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520203518.2092516 2018-03-04 22:45:18,310 sample.py 121 INFO doctor mark vm() error at 1520203518.3100193 127.0.0.1 - - [04/Mar/2018 22:45:18] "PUT /events HTTP/1.1" 200 - 2018-03-04 22:45:18,312 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-04 22:45:18,407 sample.py 57 INFO doctor consumer notified at 1520203518.407351 2018-03-04 22:45:18,408 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '94695ecb-5fe3-4be8-95fc-8f1995f65763', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'f0736c91-438a-49e4-aee0-3a1f891cdf9e'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '3a0582ee508f4022b6fcdc8bdd29e1f0'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '907983defb124ca6997c1c7ceb81c5bd'], ['launched_at', 4, '2018-03-04T22:37:04'], ['disk_gb', 2, 1], ['instance_id', 1, 'f0736c91-438a-49e4-aee0-3a1f891cdf9e'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '907983defb124ca6997c1c7ceb81c5bd'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-58e17d02-3462-4629-97df-4822e00857a0']], 'message_signature': '9d577a2a1b55ecfdbde40ec02dd27d38bf91d3165e4b535089b6afbc32d51266', 'raw': {}, 'generated': '2018-03-04T22:45:18.293830', 'message_id': '280c1f0f-47ed-4edd-87a0-3c0fa031cbb1'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [04/Mar/2018 22:45:18] "POST /failure HTTP/1.1" 200 - 2018-03-04 22:45:26,719 main.py 121 INFO doctor fault management test successfully, notification_time=0.5900802612304688 2018-03-04 22:45:26,719 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-04 22:45:26,719 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 22:45:26,720 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-04 22:45:27,789 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-04 22:45:27,948 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.7) 2018-03-04 22:45:27,949 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-04 22:45:27,959 profiler_poc.py 97 INFO Total time cost: 362739(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |362149 |392 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:362149| | | | | | | | found affected:? | | | | | | | set VM error:362642| | | | | | marked host down:362541| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:362739 2018-03-04 22:45:30,051 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [04/Mar/2018 22:45:30] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-04 22:45:30,100 sample.py 35 INFO sample monitor stop...... 2018-03-04 22:45:30,100 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-04 22:45:30,101 sample.py 31 INFO sample consumer stop...... 2018-03-04 22:45:30,106 sample.py 64 INFO shutdown consumer app server at 1520203530.1060302 127.0.0.1 - - [04/Mar/2018 22:45:30] "POST /shutdown HTTP/1.1" 200 - 2018-03-04 22:45:30,108 alarm.py 84 INFO alarm delete start....... 2018-03-04 22:45:30,183 alarm.py 93 INFO alarm delete end....... 2018-03-04 22:45:30,183 instance.py 76 INFO instance delete start....... 2018-03-04 22:45:32,052 instance.py 89 INFO instance delete end....... 2018-03-04 22:45:32,052 network.py 61 INFO subnet delete start....... 2018-03-04 22:45:32,453 network.py 64 INFO subnet delete end....... 2018-03-04 22:45:32,454 network.py 66 INFO network delete start....... 2018-03-04 22:45:33,199 network.py 69 INFO network delete end....... 2018-03-04 22:45:33,200 network_failure.py 45 INFO fault inject cleanup...... 2018-03-04 22:45:33,200 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-04 22:45:33,200 apex.py 127 INFO restore apply patches start...... 2018-03-04 22:45:34,335 image.py 71 INFO image delete start....... 2018-03-04 22:45:35,843 image.py 76 INFO image delete end....... 2018-03-04 22:45:35,843 user.py 156 INFO user delete start...... 2018-03-04 22:45:36,302 user.py 178 INFO user delete end...... 2018-03-04 22:45:36,310 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-04 22:45:36,311 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'