/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.253: b'370959ed3b964d848bf7bcce8b20852e' key.get_fingerprint()))) 2018-03-05 15:32:25,698 main.py 161 INFO doctor test starting....... 2018-03-05 15:32:25,698 apex.py 38 INFO Setup Apex installer start...... 2018-03-05 15:32:25,698 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 15:32:25,749 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-05 15:32:29,801 apex.py 80 INFO Get controller_ips:['192.30.9.6', '192.30.9.9', '192.30.9.3'] from Apex installer 2018-03-05 15:32:30,886 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'82872e182435a89428aa227bddf27b5e' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.9: b'9562044fe780d8ba2621625dce764e11' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.3: b'8425bf5af424492b43573c0249bb1f30' key.get_fingerprint()))) 2018-03-05 15:32:57,857 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-05 15:32:57,873 image.py 48 INFO image create start...... 2018-03-05 15:33:06,028 image.py 68 INFO image create end...... 2018-03-05 15:33:06,029 user.py 69 INFO user create start...... 2018-03-05 15:33:06,121 user.py 85 INFO create project...... 2018-03-05 15:33:06,239 user.py 95 INFO test project 2018-03-05 15:33:06,347 user.py 103 INFO create user...... 2018-03-05 15:33:06,739 user.py 113 INFO test user 2018-03-05 15:33:06,821 user.py 127 INFO role _member_ already created...... 2018-03-05 15:33:06,821 user.py 128 INFO test role 2018-03-05 15:33:07,559 user.py 77 INFO user create end...... 2018-03-05 15:33:07,560 main.py 97 INFO doctor fault management test starting....... 2018-03-05 15:33:07,560 user.py 181 INFO user quota update start...... 2018-03-05 15:33:08,285 user.py 197 INFO user quota update end...... 2018-03-05 15:33:08,286 network.py 41 INFO network create start....... 2018-03-05 15:33:09,404 network.py 47 INFO network create end....... 2018-03-05 15:33:09,404 network.py 49 INFO subnet create start....... 2018-03-05 15:33:11,012 network.py 58 INFO subnet create end....... 2018-03-05 15:33:11,013 instance.py 51 INFO instance create start...... 2018-03-05 15:33:14,878 instance.py 73 INFO instance create end...... 2018-03-05 15:33:14,879 instance.py 92 INFO wait for vm launch start...... 2018-03-05 15:33:29,894 instance.py 110 INFO wait for vm launch end...... 2018-03-05 15:33:29,894 alarm.py 45 INFO alarm create start...... 2018-03-05 15:33:32,951 alarm.py 81 INFO alarm create end...... 2018-03-05 15:33:32,951 sample.py 72 INFO sample inspector start...... 2018-03-05 15:33:34,220 sample.py 26 INFO sample consumer start...... * Running on http://0.0.0.0:12345/ (Press CTRL+C to quit) * Running on http://0.0.0.0:12346/ (Press CTRL+C to quit) 2018-03-05 15:33:35,582 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-05 15:33:39,731 apex.py 95 INFO Get host_ip:['192.30.9.4'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-05 15:33:39,732 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.4) which vm(doctor_vm0) launched at 2018-03-05 15:33:39,732 sample.py 30 INFO sample monitor start...... 2018-03-05 15:33:39,733 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2018-03-05 15:35:39,823 network_failure.py 39 INFO fault inject start...... 2018-03-05 15:35:39,824 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 15:35:39,824 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.4: b'86f1b3c2eedb813dd59e56c2065dca5d' key.get_fingerprint()))) 2018-03-05 15:35:39,896 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-05 15:35:40,071 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-05 15:35:40,120 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-05 15:35:40,121 network_failure.py 42 INFO fault inject end...... 2018-03-05 15:35:41,263 sample.py 97 INFO doctor monitor detected at 1520264141.2635646 2018-03-05 15:35:41,263 sample.py 41 INFO sample monitor report error...... 2018-03-05 15:35:41,272 sample.py 163 INFO event posted in sample inspector at 1520264141.272344 2018-03-05 15:35:41,272 sample.py 164 INFO sample inspector = 2018-03-05 15:35:41,273 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-05T15:35:41.264115", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-05 15:35:41,472 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520264141.47244 2018-03-05 15:35:41,538 sample.py 121 INFO doctor mark vm() error at 1520264141.538872 127.0.0.1 - - [05/Mar/2018 15:35:41] "PUT /events HTTP/1.1" 200 - 2018-03-05 15:35:41,541 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-05 15:35:41,619 sample.py 57 INFO doctor consumer notified at 1520264141.6194844 2018-03-05 15:35:41,620 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '7b364b8b-d491-404b-9815-63e442faa1bd', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '6d74dde2-b0a7-44dd-8f29-1e6cb7e17d96'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 194], ['user_id', 1, 'bcb510f7c59c4ab8aab301eae7f514f2'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '6667441e0c0d4d98aca185bd74447de3'], ['launched_at', 4, '2018-03-05T15:27:38'], ['disk_gb', 2, 1], ['instance_id', 1, '6d74dde2-b0a7-44dd-8f29-1e6cb7e17d96'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '6667441e0c0d4d98aca185bd74447de3'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-5ecc4b45-2122-483d-993f-54e10783bd58']], 'message_signature': '817ac1d17be99cdd3b778faae1bc75b237421a38001d88f23a166fe661199574', 'raw': {}, 'generated': '2018-03-05T15:35:41.527861', 'message_id': '5039c4e1-d0d0-4002-acb0-9702f77a50bf'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [05/Mar/2018 15:35:41] "POST /failure HTTP/1.1" 200 - 2018-03-05 15:35:50,198 main.py 121 INFO doctor fault management test successfully, notification_time=0.35591983795166016 2018-03-05 15:35:50,198 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-05 15:35:50,199 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 15:35:50,199 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-05 15:35:51,270 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-05 15:35:51,435 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.4) 2018-03-05 15:35:51,436 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-05 15:35:51,446 profiler_poc.py 97 INFO Total time cost: 347857(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |347502 |208 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:347502| | | | | | | | found affected:? | | | | | | | set VM error:347777| | | | | | marked host down:347710| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:347857 2018-03-05 15:35:53,570 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [05/Mar/2018 15:35:53] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-05 15:35:53,614 sample.py 35 INFO sample monitor stop...... 2018-03-05 15:35:53,614 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2018-03-05 15:35:53,614 sample.py 31 INFO sample consumer stop...... 2018-03-05 15:35:53,619 sample.py 64 INFO shutdown consumer app server at 1520264153.6190004 127.0.0.1 - - [05/Mar/2018 15:35:53] "POST /shutdown HTTP/1.1" 200 - 2018-03-05 15:35:53,621 alarm.py 84 INFO alarm delete start....... 2018-03-05 15:35:54,274 alarm.py 93 INFO alarm delete end....... 2018-03-05 15:35:54,274 instance.py 76 INFO instance delete start....... 2018-03-05 15:35:58,588 instance.py 89 INFO instance delete end....... 2018-03-05 15:35:58,589 network.py 61 INFO subnet delete start....... 2018-03-05 15:35:59,342 network.py 64 INFO subnet delete end....... 2018-03-05 15:35:59,343 network.py 66 INFO network delete start....... 2018-03-05 15:36:00,179 network.py 69 INFO network delete end....... 2018-03-05 15:36:00,179 network_failure.py 45 INFO fault inject cleanup...... 2018-03-05 15:36:00,179 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-05 15:36:00,179 apex.py 127 INFO restore apply patches start...... 2018-03-05 15:36:03,343 image.py 71 INFO image delete start....... 2018-03-05 15:36:05,644 image.py 76 INFO image delete end....... 2018-03-05 15:36:05,644 user.py 156 INFO user delete start...... 2018-03-05 15:36:06,267 user.py 178 INFO user delete end...... 2018-03-05 15:36:06,278 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-05 15:36:06,279 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'