/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.162: b'796c4b1c9c150877691e2172f834c930' key.get_fingerprint()))) 2018-03-08 00:11:57,915 main.py 160 INFO doctor test starting....... 2018-03-08 00:11:57,915 apex.py 38 INFO Setup Apex installer start...... 2018-03-08 00:11:57,915 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-08 00:11:57,964 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-08 00:12:01,944 apex.py 80 INFO Get controller_ips:['192.30.9.3'] from Apex installer 2018-03-08 00:12:02,550 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'63f9adb86d88f9d39709b3175614148f' key.get_fingerprint()))) 2018-03-08 00:12:06,287 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-08 00:12:06,293 image.py 48 INFO image create start...... 2018-03-08 00:12:21,616 image.py 68 INFO image create end...... 2018-03-08 00:12:21,617 user.py 69 INFO user create start...... 2018-03-08 00:12:21,704 user.py 85 INFO create project...... 2018-03-08 00:12:21,799 user.py 95 INFO test project 2018-03-08 00:12:21,891 user.py 103 INFO create user...... 2018-03-08 00:12:22,183 user.py 113 INFO test user 2018-03-08 00:12:22,260 user.py 127 INFO role _member_ already created...... 2018-03-08 00:12:22,260 user.py 128 INFO test role 2018-03-08 00:12:22,832 user.py 77 INFO user create end...... 2018-03-08 00:12:22,832 main.py 96 INFO doctor fault management test starting....... 2018-03-08 00:12:22,832 user.py 181 INFO user quota update start...... 2018-03-08 00:12:23,515 user.py 197 INFO user quota update end...... 2018-03-08 00:12:23,515 network.py 41 INFO network create start....... 2018-03-08 00:12:25,156 network.py 47 INFO network create end....... 2018-03-08 00:12:25,156 network.py 49 INFO subnet create start....... 2018-03-08 00:12:25,924 network.py 58 INFO subnet create end....... 2018-03-08 00:12:25,925 instance.py 51 INFO instance create start...... 2018-03-08 00:12:27,972 instance.py 73 INFO instance create end...... 2018-03-08 00:12:27,973 instance.py 92 INFO wait for vm launch start...... 2018-03-08 00:12:32,840 instance.py 110 INFO wait for vm launch end...... 2018-03-08 00:12:32,840 alarm.py 45 INFO alarm create start...... 2018-03-08 00:12:34,598 alarm.py 81 INFO alarm create end...... 2018-03-08 00:12:34,598 sample.py 72 INFO sample inspector start...... 2018-03-08 00:12:35,432 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-08 00:12:36,374 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-08 00:12:41,080 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-08 00:12:41,081 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-08 00:12:41,081 sample.py 30 INFO sample monitor start...... 2018-03-08 00:12:41,082 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-08 00:14:41,172 network_failure.py 39 INFO fault inject start...... 2018-03-08 00:14:41,173 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-08 00:14:41,173 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.6: b'99fb12eba2301ed7f872417b522ddf17' key.get_fingerprint()))) 2018-03-08 00:14:41,247 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-08 00:14:41,438 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-08 00:14:41,487 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-08 00:14:41,488 network_failure.py 42 INFO fault inject end...... 2018-03-08 00:14:42,648 sample.py 97 INFO doctor monitor detected at 1520468082.6480498 2018-03-08 00:14:42,648 sample.py 41 INFO sample monitor report error...... 2018-03-08 00:14:42,656 sample.py 163 INFO event posted in sample inspector at 1520468082.6564696 2018-03-08 00:14:42,656 sample.py 164 INFO sample inspector = 2018-03-08 00:14:42,657 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-08T00:14:42.648600", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-08 00:14:42,717 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520468082.7178864 2018-03-08 00:14:42,810 sample.py 121 INFO doctor mark vm() error at 1520468082.8106391 127.0.0.1 - - [08/Mar/2018 00:14:42] "PUT /events HTTP/1.1" 200 - 2018-03-08 00:14:42,813 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-08 00:14:42,909 sample.py 57 INFO doctor consumer notified at 1520468082.9096718 2018-03-08 00:14:42,910 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '150c7bfe-022c-4c54-8e4b-f732bc8367a0', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'a6a2254e-f18e-41ea-a67e-2063cfcfdbdc'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 64], ['user_id', 1, '42993780a7da4533b71ea053d81ac8f3'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '209c6fc24ce643a4a59cc3147defaa7d'], ['launched_at', 4, '2018-03-08T00:06:27'], ['disk_gb', 2, 1], ['instance_id', 1, 'a6a2254e-f18e-41ea-a67e-2063cfcfdbdc'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '209c6fc24ce643a4a59cc3147defaa7d'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-f3d3ad42-3ada-49cf-b87a-26f739d34fa4']], 'message_signature': 'b684bb58784cdb43a29d6cfbc12a68338eb4bf90bf1125b87f55484122d73ddc', 'raw': {}, 'generated': '2018-03-08T00:14:42.794046', 'message_id': '73fb61bc-8782-4fa1-bcf8-9968895eb26d'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [08/Mar/2018 00:14:42] "POST /failure HTTP/1.1" 200 - 2018-03-08 00:14:51,543 main.py 120 INFO doctor fault management test successfully, notification_time=0.26162195205688477 2018-03-08 00:14:51,544 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-08 00:14:51,544 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-08 00:14:51,544 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-08 00:14:52,613 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-08 00:14:52,768 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.6) 2018-03-08 00:14:52,769 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-08 00:14:52,780 profiler_poc.py 97 INFO Total time cost: 364486(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |364225 |70 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:364225| | | | | | | | found affected:? | | | | | | | set VM error:364387| | | | | | marked host down:364295| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:364486 2018-03-08 00:14:54,878 sample.py 78 INFO sample inspector stop...... 2018-03-08 00:14:54,912 sample.py 173 INFO shutdown inspector app server at 1520468094.9120512 127.0.0.1 - - [08/Mar/2018 00:14:54] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-08 00:14:54,914 sample.py 35 INFO sample monitor stop...... 2018-03-08 00:14:54,915 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-08 00:14:54,915 sample.py 31 INFO sample consumer stop...... 2018-03-08 00:14:54,919 sample.py 64 INFO shutdown consumer app server at 1520468094.9195051 127.0.0.1 - - [08/Mar/2018 00:14:54] "POST /shutdown HTTP/1.1" 200 - 2018-03-08 00:14:54,921 alarm.py 84 INFO alarm delete start....... 2018-03-08 00:14:54,973 alarm.py 93 INFO alarm delete end....... 2018-03-08 00:14:54,973 instance.py 76 INFO instance delete start....... 2018-03-08 00:14:57,128 instance.py 89 INFO instance delete end....... 2018-03-08 00:14:57,128 network.py 61 INFO subnet delete start....... 2018-03-08 00:14:58,065 network.py 64 INFO subnet delete end....... 2018-03-08 00:14:58,065 network.py 66 INFO network delete start....... 2018-03-08 00:14:58,836 network.py 69 INFO network delete end....... 2018-03-08 00:14:58,837 network_failure.py 45 INFO fault inject cleanup...... 2018-03-08 00:14:58,837 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-08 00:14:58,837 apex.py 127 INFO restore apply patches start...... 2018-03-08 00:14:59,994 image.py 71 INFO image delete start....... 2018-03-08 00:15:01,458 image.py 76 INFO image delete end....... 2018-03-08 00:15:01,459 user.py 156 INFO user delete start...... 2018-03-08 00:15:02,231 user.py 178 INFO user delete end...... Total time cost: 364486(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |364225 |70 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:364225| | | | | | | | found affected:? | | | | | | | set VM error:364387| | | | | | marked host down:364295| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:364486 2018-03-08 00:15:02,386 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-08 00:44:36,190 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'