/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.246: b'e9f56be12ee0f970b636041631635506' key.get_fingerprint()))) 2018-04-21 03:32:39,683 main.py 106 INFO doctor test starting....... 2018-04-21 03:32:39,684 apex.py 28 INFO Setup Apex installer start...... 2018-04-21 03:32:39,684 base.py 80 INFO Get SSH keys from apex installer...... 2018-04-21 03:32:39,987 apex.py 46 INFO Get controller ips from Apex installer...... 2018-04-21 03:32:39,987 base.py 98 INFO Run command=source stackrc; nova list | grep ' overcloud-controller-[0-9] ' | sed -e 's/^.*ctlplane=//' |awk '{print $1}' in apex installer...... 2018-04-21 03:32:44,347 base.py 107 INFO Output=['192.30.9.4', '192.30.9.7', '192.30.9.10'] command=source stackrc; nova list | grep ' overcloud-controller-[0-9] ' | sed -e 's/^.*ctlplane=//' |awk '{print $1}' in apex installer 2018-04-21 03:32:44,347 apex.py 53 INFO Get controller_ips:['192.30.9.4', '192.30.9.7', '192.30.9.10'] from Apex installer 2018-04-21 03:32:44,990 apex.py 66 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.4: b'92f29cbbd8674e2703770df0992af356' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.7: b'0ba4516351da880259c1e0f5b7836e13' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.10: b'92f5891859ba6247ef32e5ae3a34f9a1' key.get_fingerprint()))) 2018-04-21 03:32:52,085 base.py 60 INFO Setup ssh stunnel in apex installer...... 2018-04-21 03:32:52,101 image.py 48 INFO image create start...... 2018-04-21 03:32:57,507 image.py 68 INFO image create end...... 2018-04-21 03:32:57,507 user.py 69 INFO user create start...... 2018-04-21 03:32:57,535 user.py 85 INFO create project...... 2018-04-21 03:32:57,649 user.py 95 INFO test project 2018-04-21 03:32:57,687 user.py 103 INFO create user...... 2018-04-21 03:32:58,051 user.py 113 INFO test user 2018-04-21 03:32:58,142 user.py 127 INFO role _member_ already created...... 2018-04-21 03:32:58,142 user.py 128 INFO test role 2018-04-21 03:32:58,897 user.py 77 INFO user create end...... 2018-04-21 03:32:58,898 main.py 53 INFO doctor fault management test starting....... 2018-04-21 03:32:59,271 fault_management.py 65 INFO fault management setup...... 2018-04-21 03:32:59,271 user.py 181 INFO user quota update start...... 2018-04-21 03:32:59,993 user.py 197 INFO user quota update end...... 2018-04-21 03:32:59,993 network.py 41 INFO network create start....... 2018-04-21 03:33:01,144 network.py 47 INFO network create end....... 2018-04-21 03:33:01,144 network.py 49 INFO subnet create start....... 2018-04-21 03:33:02,012 network.py 58 INFO subnet create end....... 2018-04-21 03:33:02,012 instance.py 51 INFO instance create start...... 2018-04-21 03:33:05,104 instance.py 73 INFO instance create end...... 2018-04-21 03:33:05,105 instance.py 92 INFO wait for vm launch start...... 2018-04-21 03:33:14,855 instance.py 110 INFO wait for vm launch end...... 2018-04-21 03:33:14,855 alarm.py 45 INFO alarm create start...... 2018-04-21 03:33:17,406 alarm.py 81 INFO alarm create end...... 2018-04-21 03:33:17,407 sample.py 72 INFO sample inspector start...... 2018-04-21 03:33:18,736 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-04-21 03:33:19,993 apex.py 58 INFO Get host ip by hostname=overcloud-novacompute-1.opnfvlf.org from Apex installer...... 2018-04-21 03:33:19,993 base.py 98 INFO Run command=source stackrc; nova show overcloud-novacompute-1 | awk '/ ctlplane network /{print $5}' in apex installer...... 2018-04-21 03:33:24,321 base.py 107 INFO Output=['192.30.9.8'] command=source stackrc; nova show overcloud-novacompute-1 | awk '/ ctlplane network /{print $5}' in apex installer 2018-04-21 03:33:24,322 fault_management.py 118 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.8) which vm(doctor_vm0) launched at 2018-04-21 03:33:24,323 sample.py 30 INFO sample monitor start...... 2018-04-21 03:33:24,324 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-04-21 03:35:24,400 fault_management.py 89 INFO fault management start...... 2018-04-21 03:35:24,401 base.py 80 INFO Get SSH keys from apex installer...... 2018-04-21 03:35:24,401 base.py 84 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'93589bee618bb944d26f74f9ecbbabd8' key.get_fingerprint()))) 2018-04-21 03:35:24,473 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-04-21 03:35:24,636 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-04-21 03:35:24,686 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-04-21 03:35:24,687 fault_management.py 91 INFO fault management end...... 2018-04-21 03:35:25,902 sample.py 98 INFO doctor monitor detected at 1524281725.9023383 2018-04-21 03:35:25,902 sample.py 41 INFO sample monitor report error...... 2018-04-21 03:35:25,911 sample.py 168 INFO event posted in sample inspector at 1524281725.9110682 2018-04-21 03:35:25,911 sample.py 169 INFO sample inspector = 2018-04-21 03:35:25,911 sample.py 171 INFO sample inspector received data = b'[{"time": "2018-04-21T03:35:25.902901", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-04-21 03:35:25,970 sample.py 115 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1524281725.9700491 2018-04-21 03:35:26,077 sample.py 126 INFO doctor mark vm() error at 1524281726.0769982 127.0.0.1 - - [21/Apr/2018 03:35:26] "PUT /events HTTP/1.1" 200 - 2018-04-21 03:35:26,080 sample.py 101 INFO ping timeout, quit monitoring... 2018-04-21 03:35:26,178 sample.py 58 INFO doctor consumer notified at 1524281726.1782904 2018-04-21 03:35:26,179 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '5b25b56c-311b-4353-80fc-d78c60f28786', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'f5c69420-3b06-4b86-a51f-e014a10f1115'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 53], ['user_id', 1, '580f6766782644609b0bf8ab74acad7a'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '085f8405076b45fbbbba873de1aaf359'], ['launched_at', 4, '2018-04-21T03:26:18'], ['disk_gb', 2, 1], ['instance_id', 1, 'f5c69420-3b06-4b86-a51f-e014a10f1115'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '085f8405076b45fbbbba873de1aaf359'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-d6c360d5-7bab-453a-8d08-aea4ca81a27d']], 'message_signature': '5556b8bdc917b3ffbad8556ca40c8d4cb8c7777426b2ca2c6af6613dba505052', 'raw': {}, 'generated': '2018-04-21T03:35:26.019045', 'message_id': 'c21c40a6-f5b3-4efd-8e8e-619dfae4ea0a'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [21/Apr/2018 03:35:26] "POST /failure HTTP/1.1" 200 - 2018-04-21 03:35:34,743 fault_management.py 185 INFO doctor fault management test successfully,notification_time=0.2759521007537842 2018-04-21 03:35:34,743 fault_management.py 191 INFO run doctor fault management profile....... 2018-04-21 03:35:34,743 base.py 80 INFO Get SSH keys from apex installer...... 2018-04-21 03:35:34,744 base.py 84 INFO Already have SSH keys from apex installer...... 2018-04-21 03:35:35,814 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-04-21 03:35:35,969 fault_management.py 155 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.8) 2018-04-21 03:35:35,971 profiler_poc.py 97 INFO Total time cost: 411849(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |411573 |67 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:411573| | | | | | | | found affected:? | | | | | | | set VM error:411747| | | | | | marked host down:411640| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:411849 2018-04-21 03:35:35,972 fault_management.py 94 INFO fault management cleanup...... 2018-04-21 03:35:35,972 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2018-04-21 03:35:38,071 sample.py 78 INFO sample inspector stop...... 2018-04-21 03:35:38,119 sample.py 178 INFO shutdown inspector app server at 1524281738.1190064 127.0.0.1 - - [21/Apr/2018 03:35:38] "POST /events/shutdown HTTP/1.1" 200 - 2018-04-21 03:35:38,121 sample.py 35 INFO sample monitor stop...... 2018-04-21 03:35:38,122 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-04-21 03:35:38,122 sample.py 31 INFO sample consumer stop...... 2018-04-21 03:35:38,126 sample.py 66 INFO shutdown consumer app server at 1524281738.1268682 127.0.0.1 - - [21/Apr/2018 03:35:38] "POST /shutdown HTTP/1.1" 200 - 2018-04-21 03:35:38,129 alarm.py 84 INFO alarm delete start....... 2018-04-21 03:35:38,780 alarm.py 93 INFO alarm delete end....... 2018-04-21 03:35:38,780 instance.py 76 INFO instance delete start....... 2018-04-21 03:36:42,147 instance.py 89 INFO instance delete end....... 2018-04-21 03:36:42,148 network.py 61 INFO subnet delete start....... 2018-04-21 03:36:42,891 network.py 64 INFO subnet delete end....... 2018-04-21 03:36:42,891 network.py 66 INFO network delete start....... 2018-04-21 03:36:43,867 network.py 69 INFO network delete end....... 2018-04-21 03:36:43,867 apex.py 80 INFO restore apply patches start...... 2018-04-21 03:36:47,044 image.py 71 INFO image delete start....... 2018-04-21 03:36:48,854 image.py 76 INFO image delete end....... 2018-04-21 03:36:48,854 user.py 156 INFO user delete start...... 2018-04-21 03:36:49,582 user.py 178 INFO user delete end...... Total time cost: 411849(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |411573 |67 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:411573| | | | | | | | found affected:? | | | | | | | set VM error:411747| | | | | | marked host down:411640| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:411849 2018-04-21 03:36:49,725 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-04-21 04:12:11,339 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'