/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.252: b'0407249a99aac01fb48f6e174a71ffa3' key.get_fingerprint()))) 2018-03-07 04:17:19,033 main.py 161 INFO doctor test starting....... 2018-03-07 04:17:19,034 apex.py 38 INFO Setup Apex installer start...... 2018-03-07 04:17:19,034 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-07 04:17:19,092 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-07 04:17:23,025 apex.py 80 INFO Get controller_ips:['192.30.9.3'] from Apex installer 2018-03-07 04:17:23,620 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.3: b'32802c1e22fbad27b9395cdd60e1c755' key.get_fingerprint()))) 2018-03-07 04:17:38,400 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-07 04:17:38,406 image.py 48 INFO image create start...... 2018-03-07 04:18:33,042 image.py 68 INFO image create end...... 2018-03-07 04:18:33,042 user.py 69 INFO user create start...... 2018-03-07 04:18:33,126 user.py 85 INFO create project...... 2018-03-07 04:18:33,167 user.py 95 INFO test project 2018-03-07 04:18:33,260 user.py 103 INFO create user...... 2018-03-07 04:18:33,623 user.py 113 INFO test user 2018-03-07 04:18:33,700 user.py 127 INFO role _member_ already created...... 2018-03-07 04:18:33,700 user.py 128 INFO test role 2018-03-07 04:18:34,265 user.py 77 INFO user create end...... 2018-03-07 04:18:34,266 main.py 97 INFO doctor fault management test starting....... 2018-03-07 04:18:34,266 user.py 181 INFO user quota update start...... 2018-03-07 04:18:34,951 user.py 197 INFO user quota update end...... 2018-03-07 04:18:34,951 network.py 41 INFO network create start....... 2018-03-07 04:18:35,966 network.py 47 INFO network create end....... 2018-03-07 04:18:35,967 network.py 49 INFO subnet create start....... 2018-03-07 04:18:36,458 network.py 58 INFO subnet create end....... 2018-03-07 04:18:36,458 instance.py 51 INFO instance create start...... 2018-03-07 04:18:38,199 instance.py 73 INFO instance create end...... 2018-03-07 04:18:38,199 instance.py 92 INFO wait for vm launch start...... 2018-03-07 04:18:43,114 instance.py 110 INFO wait for vm launch end...... 2018-03-07 04:18:43,114 alarm.py 45 INFO alarm create start...... 2018-03-07 04:18:44,502 alarm.py 81 INFO alarm create end...... 2018-03-07 04:18:44,502 sample.py 72 INFO sample inspector start...... 2018-03-07 04:18:45,629 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-07 04:18:46,596 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-07 04:18:50,915 apex.py 95 INFO Get host_ip:['192.30.9.8'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-07 04:18:50,915 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.8) which vm(doctor_vm0) launched at 2018-03-07 04:18:50,915 sample.py 30 INFO sample monitor start...... 2018-03-07 04:18:50,916 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-03-07 04:20:51,017 network_failure.py 39 INFO fault inject start...... 2018-03-07 04:20:51,018 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-07 04:20:51,018 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.8: b'c015331f9ab9ea9267dbea2c0aa5a5ee' key.get_fingerprint()))) 2018-03-07 04:20:51,091 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-07 04:20:51,267 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-07 04:20:51,316 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-07 04:20:51,317 network_failure.py 42 INFO fault inject end...... 2018-03-07 04:20:52,474 sample.py 97 INFO doctor monitor detected at 1520396452.4739552 2018-03-07 04:20:52,474 sample.py 41 INFO sample monitor report error...... 2018-03-07 04:20:52,482 sample.py 163 INFO event posted in sample inspector at 1520396452.4828706 2018-03-07 04:20:52,483 sample.py 164 INFO sample inspector = 2018-03-07 04:20:52,483 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-07T04:20:52.474572", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-07 04:20:52,552 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520396452.55227 2018-03-07 04:20:52,635 sample.py 121 INFO doctor mark vm() error at 1520396452.6356094 127.0.0.1 - - [07/Mar/2018 04:20:52] "PUT /events HTTP/1.1" 200 - 2018-03-07 04:20:52,638 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-07 04:20:52,719 sample.py 57 INFO doctor consumer notified at 1520396452.719449 2018-03-07 04:20:52,720 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '7d57357d-bdd7-48a6-9f1d-56b49f91c2d9', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '164f8c2b-7179-43a8-be3c-2301233f9f1f'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, 'd1f5e476ed1f4d1b85cd9de8334f93fb'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'dbdd4950cda242579a250015575683c8'], ['launched_at', 4, '2018-03-07T04:12:38'], ['disk_gb', 2, 1], ['instance_id', 1, '164f8c2b-7179-43a8-be3c-2301233f9f1f'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'dbdd4950cda242579a250015575683c8'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-332578bc-bd89-4bdc-8168-93a536bdfa8c']], 'message_signature': '253319a742bb73af959a6061d7f06ebb68a1e622dd1e267c17ebdcbebe57c065', 'raw': {}, 'generated': '2018-03-07T04:20:52.638930', 'message_id': '0d730143-9895-4e9d-ac16-2b8b57fe1da7'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [07/Mar/2018 04:20:52] "POST /failure HTTP/1.1" 200 - 2018-03-07 04:21:01,391 main.py 121 INFO doctor fault management test successfully, notification_time=0.24549388885498047 2018-03-07 04:21:01,391 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-07 04:21:01,392 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-07 04:21:01,392 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-07 04:21:02,461 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-07 04:21:02,613 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.8) 2018-03-07 04:21:02,615 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-07 04:21:02,625 profiler_poc.py 97 INFO Total time cost: 363950(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |363705 |78 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:363705| | | | | | | | found affected:? | | | | | | | set VM error:363866| | | | | | marked host down:363783| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:363950 2018-03-07 04:21:04,740 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [07/Mar/2018 04:21:04] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-07 04:21:04,798 sample.py 35 INFO sample monitor stop...... 2018-03-07 04:21:04,798 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-03-07 04:21:04,798 sample.py 31 INFO sample consumer stop...... 2018-03-07 04:21:04,803 sample.py 64 INFO shutdown consumer app server at 1520396464.8036172 127.0.0.1 - - [07/Mar/2018 04:21:04] "POST /shutdown HTTP/1.1" 200 - 2018-03-07 04:21:04,806 alarm.py 84 INFO alarm delete start....... 2018-03-07 04:21:04,861 alarm.py 93 INFO alarm delete end....... 2018-03-07 04:21:04,862 instance.py 76 INFO instance delete start....... 2018-03-07 04:22:05,826 instance.py 89 INFO instance delete end....... 2018-03-07 04:22:05,826 network.py 61 INFO subnet delete start....... 2018-03-07 04:22:06,513 network.py 64 INFO subnet delete end....... 2018-03-07 04:22:06,514 network.py 66 INFO network delete start....... 2018-03-07 04:22:07,029 network.py 69 INFO network delete end....... 2018-03-07 04:22:07,029 network_failure.py 45 INFO fault inject cleanup...... 2018-03-07 04:22:07,029 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-07 04:22:07,029 apex.py 127 INFO restore apply patches start...... 2018-03-07 04:22:08,201 image.py 71 INFO image delete start....... 2018-03-07 04:22:09,438 image.py 76 INFO image delete end....... 2018-03-07 04:22:09,439 user.py 156 INFO user delete start...... 2018-03-07 04:22:09,967 user.py 178 INFO user delete end...... 2018-03-07 04:22:09,977 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-07 04:22:09,978 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'