/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.150: b'1e394ca9097b64e38e984560bd7b5aad' key.get_fingerprint()))) 2018-03-13 19:59:46,191 main.py 160 INFO doctor test starting....... 2018-03-13 19:59:46,192 apex.py 38 INFO Setup Apex installer start...... 2018-03-13 19:59:46,192 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-13 19:59:46,238 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-13 19:59:49,669 apex.py 80 INFO Get controller_ips:['192.30.9.8', '192.30.9.9', '192.30.9.4'] from Apex installer 2018-03-13 19:59:50,303 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.8: b'a8076f8a9c649dd9f534b4fc7d463b1f' 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'ce6979373f8cdb00d9870fd5aeee7a83' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.4: b'47280d16e952228fd4a9ba55ce4aad29' key.get_fingerprint()))) 2018-03-13 20:00:11,116 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-13 20:00:11,130 image.py 48 INFO image create start...... 2018-03-13 20:00:18,334 image.py 68 INFO image create end...... 2018-03-13 20:00:18,335 user.py 69 INFO user create start...... 2018-03-13 20:00:18,425 user.py 85 INFO create project...... 2018-03-13 20:00:18,538 user.py 95 INFO test project 2018-03-13 20:00:18,657 user.py 103 INFO create user...... 2018-03-13 20:00:19,027 user.py 113 INFO test user 2018-03-13 20:00:19,104 user.py 127 INFO role _member_ already created...... 2018-03-13 20:00:19,104 user.py 128 INFO test role 2018-03-13 20:00:19,769 user.py 77 INFO user create end...... 2018-03-13 20:00:19,769 main.py 96 INFO doctor fault management test starting....... 2018-03-13 20:00:19,769 user.py 181 INFO user quota update start...... 2018-03-13 20:00:20,484 user.py 197 INFO user quota update end...... 2018-03-13 20:00:20,484 network.py 41 INFO network create start....... 2018-03-13 20:00:21,829 network.py 47 INFO network create end....... 2018-03-13 20:00:21,829 network.py 49 INFO subnet create start....... 2018-03-13 20:00:22,925 network.py 58 INFO subnet create end....... 2018-03-13 20:00:22,926 instance.py 51 INFO instance create start...... 2018-03-13 20:00:26,089 instance.py 73 INFO instance create end...... 2018-03-13 20:00:26,089 instance.py 92 INFO wait for vm launch start...... 2018-03-13 20:00:36,319 instance.py 110 INFO wait for vm launch end...... 2018-03-13 20:00:36,319 alarm.py 45 INFO alarm create start...... 2018-03-13 20:00:38,999 alarm.py 81 INFO alarm create end...... 2018-03-13 20:00:39,000 sample.py 72 INFO sample inspector start...... 2018-03-13 20:00:40,180 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-13 20:00:41,525 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-13 20:00:45,328 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-0.opnfvlf.org in Apex installer 2018-03-13 20:00:45,329 main.py 193 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-03-13 20:00:45,330 sample.py 30 INFO sample monitor start...... 2018-03-13 20:00:45,330 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.7) 2018-03-13 20:02:45,408 network_failure.py 39 INFO fault inject start...... 2018-03-13 20:02:45,409 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-13 20:02:45,409 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.7: b'69fb0fae0f2568ed335d995b923fe275' key.get_fingerprint()))) 2018-03-13 20:02:45,484 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-13 20:02:45,654 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-13 20:02:45,666 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-13 20:02:45,667 network_failure.py 42 INFO fault inject end...... 2018-03-13 20:02:46,795 sample.py 97 INFO doctor monitor detected at 1520971366.795323 2018-03-13 20:02:46,795 sample.py 41 INFO sample monitor report error...... 2018-03-13 20:02:46,804 sample.py 163 INFO event posted in sample inspector at 1520971366.8041296 2018-03-13 20:02:46,804 sample.py 164 INFO sample inspector = 2018-03-13 20:02:46,804 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-13T20:02:46.795880", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-13 20:02:46,857 sample.py 112 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1520971366.8577695 2018-03-13 20:02:46,953 sample.py 121 INFO doctor mark vm() error at 1520971366.953505 127.0.0.1 - - [13/Mar/2018 20:02:46] "PUT /events HTTP/1.1" 200 - 2018-03-13 20:02:46,956 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-13 20:02:47,078 sample.py 57 INFO doctor consumer notified at 1520971367.0782588 2018-03-13 20:02:47,078 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '8b8ba670-8f6c-4560-8456-b51c3b0b3dcd', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '0038e685-8f01-4911-bf32-1fa75a60e960'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 198], ['user_id', 1, 'bda4390199d445e9a3a8a19b17789036'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'e0e91d15066f4d73a68803fe22df3251'], ['launched_at', 4, '2018-03-13T19:54:18'], ['disk_gb', 2, 1], ['instance_id', 1, '0038e685-8f01-4911-bf32-1fa75a60e960'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'e0e91d15066f4d73a68803fe22df3251'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-bba4deb5-c849-430a-874c-dbe7608842d4']], 'message_signature': 'fa0c60d4597241e65c0feaf41570d7595a7590ff5795e2dc1a5a53b4194b63eb', 'raw': {}, 'generated': '2018-03-13T20:02:46.959681', 'message_id': '70304885-6124-4e0a-a8a1-eb49207e26cd'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [13/Mar/2018 20:02:47] "POST /failure HTTP/1.1" 200 - 2018-03-13 20:02:55,732 main.py 120 INFO doctor fault management test successfully, notification_time=0.28293585777282715 2018-03-13 20:02:55,733 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-13 20:02:55,733 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-13 20:02:55,733 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-13 20:02:56,801 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-13 20:02:56,958 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.7) 2018-03-13 20:02:56,958 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-13 20:02:56,969 profiler_poc.py 97 INFO Total time cost: 372326(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |372043 |62 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:372043| | | | | | | | found affected:? | | | | | | | set VM error:372201| | | | | | marked host down:372105| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:372326 2018-03-13 20:02:59,071 sample.py 78 INFO sample inspector stop...... 2018-03-13 20:02:59,111 sample.py 173 INFO shutdown inspector app server at 1520971379.111377 127.0.0.1 - - [13/Mar/2018 20:02:59] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-13 20:02:59,113 sample.py 35 INFO sample monitor stop...... 2018-03-13 20:02:59,114 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.7) 2018-03-13 20:02:59,114 sample.py 31 INFO sample consumer stop...... 2018-03-13 20:02:59,118 sample.py 64 INFO shutdown consumer app server at 1520971379.1184769 127.0.0.1 - - [13/Mar/2018 20:02:59] "POST /shutdown HTTP/1.1" 200 - 2018-03-13 20:02:59,120 alarm.py 84 INFO alarm delete start....... 2018-03-13 20:02:59,835 alarm.py 93 INFO alarm delete end....... 2018-03-13 20:02:59,835 instance.py 76 INFO instance delete start....... 2018-03-13 20:03:02,692 instance.py 89 INFO instance delete end....... 2018-03-13 20:03:02,692 network.py 61 INFO subnet delete start....... 2018-03-13 20:03:03,295 network.py 64 INFO subnet delete end....... 2018-03-13 20:03:03,295 network.py 66 INFO network delete start....... 2018-03-13 20:03:04,181 network.py 69 INFO network delete end....... 2018-03-13 20:03:04,181 network_failure.py 45 INFO fault inject cleanup...... 2018-03-13 20:03:04,181 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-13 20:03:04,181 apex.py 127 INFO restore apply patches start...... 2018-03-13 20:03:07,324 image.py 71 INFO image delete start....... 2018-03-13 20:03:08,520 image.py 76 INFO image delete end....... 2018-03-13 20:03:08,521 user.py 156 INFO user delete start...... 2018-03-13 20:03:09,114 user.py 178 INFO user delete end...... Total time cost: 372326(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |372043 |62 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:372043| | | | | | | | found affected:? | | | | | | | set VM error:372201| | | | | | marked host down:372105| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:372326 2018-03-13 20:03:09,260 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'