/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.242: b'4fe34c42995e97e6eafc4922ab42c710' key.get_fingerprint()))) 2018-03-27 05:20:17,210 main.py 160 INFO doctor test starting....... 2018-03-27 05:20:17,210 apex.py 38 INFO Setup Apex installer start...... 2018-03-27 05:20:17,210 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-27 05:20:17,263 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-27 05:20:21,172 apex.py 80 INFO Get controller_ips:['192.30.9.9', '192.30.9.10', '192.30.9.3'] from Apex installer 2018-03-27 05:20:21,801 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.9: b'74134fe3d428f7119fc936d9e9c3b41b' 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'c4d48967b92fe69016512a5d0e36c689' 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'fccb604a919d26efc54a583d70c53a70' key.get_fingerprint()))) 2018-03-27 05:20:42,144 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-27 05:20:42,159 image.py 48 INFO image create start...... 2018-03-27 05:20:50,463 image.py 68 INFO image create end...... 2018-03-27 05:20:50,463 user.py 69 INFO user create start...... 2018-03-27 05:20:50,552 user.py 85 INFO create project...... 2018-03-27 05:20:50,719 user.py 95 INFO test project 2018-03-27 05:20:50,822 user.py 103 INFO create user...... 2018-03-27 05:20:51,198 user.py 113 INFO test user 2018-03-27 05:20:51,218 user.py 127 INFO role _member_ already created...... 2018-03-27 05:20:51,218 user.py 128 INFO test role 2018-03-27 05:20:52,601 user.py 77 INFO user create end...... 2018-03-27 05:20:52,601 main.py 96 INFO doctor fault management test starting....... 2018-03-27 05:20:52,602 user.py 181 INFO user quota update start...... 2018-03-27 05:20:53,319 user.py 197 INFO user quota update end...... 2018-03-27 05:20:53,319 network.py 41 INFO network create start....... 2018-03-27 05:20:54,585 network.py 47 INFO network create end....... 2018-03-27 05:20:54,585 network.py 49 INFO subnet create start....... 2018-03-27 05:20:55,844 network.py 58 INFO subnet create end....... 2018-03-27 05:20:55,844 instance.py 51 INFO instance create start...... 2018-03-27 05:20:58,972 instance.py 73 INFO instance create end...... 2018-03-27 05:20:58,973 instance.py 92 INFO wait for vm launch start...... 2018-03-27 05:21:13,765 instance.py 110 INFO wait for vm launch end...... 2018-03-27 05:21:13,765 alarm.py 45 INFO alarm create start...... 2018-03-27 05:21:17,026 alarm.py 81 INFO alarm create end...... 2018-03-27 05:21:17,027 sample.py 72 INFO sample inspector start...... 2018-03-27 05:21:18,536 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-27 05:21:19,888 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-27 05:21:23,923 apex.py 95 INFO Get host_ip:['192.30.9.5'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-27 05:21:23,924 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.5) which vm(doctor_vm0) launched at 2018-03-27 05:21:23,925 sample.py 30 INFO sample monitor start...... 2018-03-27 05:21:23,925 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.5) 2018-03-27 05:23:23,977 network_failure.py 39 INFO fault inject start...... 2018-03-27 05:23:23,978 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-27 05:23:23,979 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.5: b'413b6942f0d1e86199506070ed39f221' key.get_fingerprint()))) 2018-03-27 05:23:24,051 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-27 05:23:24,241 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-27 05:23:24,290 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-27 05:23:24,291 network_failure.py 42 INFO fault inject end...... 2018-03-27 05:23:25,509 sample.py 97 INFO doctor monitor detected at 1522128205.5090637 2018-03-27 05:23:25,509 sample.py 41 INFO sample monitor report error...... 2018-03-27 05:23:25,517 sample.py 163 INFO event posted in sample inspector at 1522128205.517492 2018-03-27 05:23:25,517 sample.py 164 INFO sample inspector = 2018-03-27 05:23:25,518 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-27T05:23:25.509607", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-27 05:23:25,655 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1522128205.6553953 2018-03-27 05:23:25,716 sample.py 121 INFO doctor mark vm() error at 1522128205.7164462 127.0.0.1 - - [27/Mar/2018 05:23:25] "PUT /events HTTP/1.1" 200 - 2018-03-27 05:23:25,719 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-27 05:23:25,822 sample.py 57 INFO doctor consumer notified at 1522128205.8225994 2018-03-27 05:23:25,823 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '276c334e-e3ac-4299-8dcc-cfb1c2c5c724', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '064767e5-9345-4c69-a986-9402a6caff7a'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 246], ['user_id', 1, '03e05e126a5349d18b217c0bc758ddfd'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'e79ae62cf8d54ce1a2196131b165f57e'], ['launched_at', 4, '2018-03-27T05:14:44'], ['disk_gb', 2, 1], ['instance_id', 1, '064767e5-9345-4c69-a986-9402a6caff7a'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'e79ae62cf8d54ce1a2196131b165f57e'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-6f46edd8-4b05-40ce-8876-1596b93824d1']], 'message_signature': '7b742612b7793caf9561276b9f21789b864791620afc1e0d16fbb08ba7703f3b', 'raw': {}, 'generated': '2018-03-27T05:23:25.697314', 'message_id': '73787f17-c32f-47f3-b71d-d8c18828fe3e'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [27/Mar/2018 05:23:25] "POST /failure HTTP/1.1" 200 - 2018-03-27 05:23:34,356 main.py 120 INFO doctor fault management test successfully, notification_time=0.3135356903076172 2018-03-27 05:23:34,356 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-27 05:23:34,357 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-27 05:23:34,357 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-27 05:23:35,425 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-27 05:23:35,584 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.5) 2018-03-27 05:23:35,585 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-27 05:23:35,589 profiler_poc.py 97 INFO Total time cost: 385846(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |385533 |146 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:385533| | | | | | | | found affected:? | | | | | | | set VM error:385740| | | | | | marked host down:385679| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:385846 2018-03-27 05:23:37,718 sample.py 78 INFO sample inspector stop...... 2018-03-27 05:23:37,768 sample.py 173 INFO shutdown inspector app server at 1522128217.7683582 127.0.0.1 - - [27/Mar/2018 05:23:37] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-27 05:23:37,771 sample.py 35 INFO sample monitor stop...... 2018-03-27 05:23:37,771 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.5) 2018-03-27 05:23:37,771 sample.py 31 INFO sample consumer stop...... 2018-03-27 05:23:37,776 sample.py 64 INFO shutdown consumer app server at 1522128217.7760623 127.0.0.1 - - [27/Mar/2018 05:23:37] "POST /shutdown HTTP/1.1" 200 - 2018-03-27 05:23:37,778 alarm.py 84 INFO alarm delete start....... 2018-03-27 05:23:38,428 alarm.py 93 INFO alarm delete end....... 2018-03-27 05:23:38,429 instance.py 76 INFO instance delete start....... 2018-03-27 05:23:42,815 instance.py 89 INFO instance delete end....... 2018-03-27 05:23:42,815 network.py 61 INFO subnet delete start....... 2018-03-27 05:23:43,568 network.py 64 INFO subnet delete end....... 2018-03-27 05:23:43,568 network.py 66 INFO network delete start....... 2018-03-27 05:23:44,752 network.py 69 INFO network delete end....... 2018-03-27 05:23:44,752 network_failure.py 45 INFO fault inject cleanup...... 2018-03-27 05:23:44,752 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-27 05:23:44,752 apex.py 127 INFO restore apply patches start...... 2018-03-27 05:23:47,934 image.py 71 INFO image delete start....... 2018-03-27 05:23:53,212 image.py 76 INFO image delete end....... 2018-03-27 05:23:53,213 user.py 156 INFO user delete start...... 2018-03-27 05:23:54,220 user.py 178 INFO user delete end...... Total time cost: 385846(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |385533 |146 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:385533| | | | | | | | found affected:? | | | | | | | set VM error:385740| | | | | | marked host down:385679| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:385846 2018-03-27 05:23:54,371 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-27 06:11:14,477 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'