/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.77: b'40bdd77da6255a2621b66d0bc3913e3d' key.get_fingerprint()))) 2018-03-07 13:26:25,096 main.py 160 INFO doctor test starting....... 2018-03-07 13:26:25,097 apex.py 38 INFO Setup Apex installer start...... 2018-03-07 13:26:25,097 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-07 13:26:25,144 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-07 13:26:29,437 apex.py 80 INFO Get controller_ips:['192.30.9.6'] from Apex installer 2018-03-07 13:26:30,080 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'09b64c846e1a35a0e1fe63d48928d957' key.get_fingerprint()))) 2018-03-07 13:26:31,742 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-07 13:26:31,748 image.py 48 INFO image create start...... 2018-03-07 13:26:37,034 image.py 68 INFO image create end...... 2018-03-07 13:26:37,034 user.py 69 INFO user create start...... 2018-03-07 13:26:37,123 user.py 85 INFO create project...... 2018-03-07 13:26:37,164 user.py 95 INFO test project 2018-03-07 13:26:37,201 user.py 103 INFO create user...... 2018-03-07 13:26:37,571 user.py 113 INFO test user 2018-03-07 13:26:37,656 user.py 127 INFO role _member_ already created...... 2018-03-07 13:26:37,657 user.py 128 INFO test role 2018-03-07 13:26:38,335 user.py 77 INFO user create end...... 2018-03-07 13:26:38,335 main.py 96 INFO doctor fault management test starting....... 2018-03-07 13:26:38,336 user.py 181 INFO user quota update start...... 2018-03-07 13:26:38,951 user.py 197 INFO user quota update end...... 2018-03-07 13:26:38,952 network.py 41 INFO network create start....... 2018-03-07 13:26:40,211 network.py 47 INFO network create end....... 2018-03-07 13:26:40,211 network.py 49 INFO subnet create start....... 2018-03-07 13:26:41,040 network.py 58 INFO subnet create end....... 2018-03-07 13:26:41,040 instance.py 51 INFO instance create start...... 2018-03-07 13:26:42,759 instance.py 73 INFO instance create end...... 2018-03-07 13:26:42,760 instance.py 92 INFO wait for vm launch start...... 2018-03-07 13:26:47,562 instance.py 110 INFO wait for vm launch end...... 2018-03-07 13:26:47,562 alarm.py 45 INFO alarm create start...... 2018-03-07 13:26:49,146 alarm.py 81 INFO alarm create end...... 2018-03-07 13:26:49,146 sample.py 72 INFO sample inspector start...... 2018-03-07 13:26:50,108 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-07 13:26:50,960 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-07 13:26:55,015 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-0.opnfvlf.org in Apex installer 2018-03-07 13:26:55,016 main.py 193 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.10) which vm(doctor_vm0) launched at 2018-03-07 13:26:55,016 sample.py 30 INFO sample monitor start...... 2018-03-07 13:26:55,017 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.10) 2018-03-07 13:28:55,111 network_failure.py 39 INFO fault inject start...... 2018-03-07 13:28:55,113 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-07 13:28:55,113 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.10: b'c5b0971752c2555dc0dcd41030665a6f' key.get_fingerprint()))) 2018-03-07 13:28:55,184 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-07 13:28:55,346 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-07 13:28:55,395 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-07 13:28:55,396 network_failure.py 42 INFO fault inject end...... 2018-03-07 13:28:56,565 sample.py 97 INFO doctor monitor detected at 1520429336.5656312 2018-03-07 13:28:56,565 sample.py 41 INFO sample monitor report error...... 2018-03-07 13:28:56,573 sample.py 163 INFO event posted in sample inspector at 1520429336.5736895 2018-03-07 13:28:56,574 sample.py 164 INFO sample inspector = 2018-03-07 13:28:56,574 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-07T13:28:56.566137", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-07 13:28:56,738 sample.py 112 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1520429336.7383482 2018-03-07 13:28:56,871 sample.py 121 INFO doctor mark vm() error at 1520429336.8715866 127.0.0.1 - - [07/Mar/2018 13:28:56] "PUT /events HTTP/1.1" 200 - 2018-03-07 13:28:56,874 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-07 13:28:56,982 sample.py 57 INFO doctor consumer notified at 1520429336.9822028 2018-03-07 13:28:56,982 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'e7136850-e471-4357-b954-83e5887bfb3a', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'f19e8def-586c-42b5-925a-ee238135a076'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '583fbbb00ecb4ffb8c5adb0de808858d'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '88ee49ad05c641418c147c08dc8a2b8b'], ['launched_at', 4, '2018-03-07T13:20:56'], ['disk_gb', 2, 1], ['instance_id', 1, 'f19e8def-586c-42b5-925a-ee238135a076'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '88ee49ad05c641418c147c08dc8a2b8b'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-5196da43-0b2a-4086-850b-77a30ec18b46']], 'message_signature': '39be722d06a984f0a12c1fe2fdae36c9c699edd8941f920b02412e2c2821731f', 'raw': {}, 'generated': '2018-03-07T13:28:56.848472', 'message_id': 'e73645b6-9a56-4887-8749-29a5caef94d0'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [07/Mar/2018 13:28:56] "POST /failure HTTP/1.1" 200 - 2018-03-07 13:29:05,456 main.py 120 INFO doctor fault management test successfully, notification_time=0.41657161712646484 2018-03-07 13:29:05,456 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-07 13:29:05,457 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-07 13:29:05,457 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-07 13:29:06,526 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-07 13:29:06,677 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.10) 2018-03-07 13:29:06,678 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-07 13:29:06,689 profiler_poc.py 97 INFO Total time cost: 351052(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |350636 |172 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:350636| | | | | | | | found affected:? | | | | | | | set VM error:350942| | | | | | marked host down:350808| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:351052 2018-03-07 13:29:08,793 sample.py 78 INFO sample inspector stop...... 2018-03-07 13:29:08,831 sample.py 173 INFO shutdown inspector app server at 1520429348.8314314 127.0.0.1 - - [07/Mar/2018 13:29:08] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-07 13:29:08,834 sample.py 35 INFO sample monitor stop...... 2018-03-07 13:29:08,834 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.10) 2018-03-07 13:29:08,834 sample.py 31 INFO sample consumer stop...... 2018-03-07 13:29:08,839 sample.py 64 INFO shutdown consumer app server at 1520429348.8392239 127.0.0.1 - - [07/Mar/2018 13:29:08] "POST /shutdown HTTP/1.1" 200 - 2018-03-07 13:29:08,841 alarm.py 84 INFO alarm delete start....... 2018-03-07 13:29:08,888 alarm.py 93 INFO alarm delete end....... 2018-03-07 13:29:08,888 instance.py 76 INFO instance delete start....... 2018-03-07 13:29:10,546 instance.py 89 INFO instance delete end....... 2018-03-07 13:29:10,546 network.py 61 INFO subnet delete start....... 2018-03-07 13:29:11,275 network.py 64 INFO subnet delete end....... 2018-03-07 13:29:11,275 network.py 66 INFO network delete start....... 2018-03-07 13:29:11,833 network.py 69 INFO network delete end....... 2018-03-07 13:29:11,834 network_failure.py 45 INFO fault inject cleanup...... 2018-03-07 13:29:11,834 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-07 13:29:11,834 apex.py 127 INFO restore apply patches start...... 2018-03-07 13:29:12,990 image.py 71 INFO image delete start....... 2018-03-07 13:29:14,655 image.py 76 INFO image delete end....... 2018-03-07 13:29:14,655 user.py 156 INFO user delete start...... 2018-03-07 13:29:15,176 user.py 178 INFO user delete end...... Total time cost: 351052(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |350636 |172 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:350636| | | | | | | | found affected:? | | | | | | | set VM error:350942| | | | | | marked host down:350808| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:351052 2018-03-07 13:29:15,335 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'