/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.247: b'fc85217f3aaa8c65ade6b4916f9a2fd0' key.get_fingerprint()))) 2018-03-06 13:23:01,439 main.py 161 INFO doctor test starting....... 2018-03-06 13:23:01,439 apex.py 38 INFO Setup Apex installer start...... 2018-03-06 13:23:01,439 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-06 13:23:01,494 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-06 13:23:05,362 apex.py 80 INFO Get controller_ips:['192.30.9.8'] from Apex installer 2018-03-06 13:23:05,983 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'fd6b73063a9f84a1a61855c67288eb12' key.get_fingerprint()))) 2018-03-06 13:23:11,266 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-06 13:23:11,272 image.py 48 INFO image create start...... 2018-03-06 13:23:18,343 image.py 68 INFO image create end...... 2018-03-06 13:23:18,343 user.py 69 INFO user create start...... 2018-03-06 13:23:18,373 user.py 85 INFO create project...... 2018-03-06 13:23:18,480 user.py 95 INFO test project 2018-03-06 13:23:18,571 user.py 103 INFO create user...... 2018-03-06 13:23:18,998 user.py 113 INFO test user 2018-03-06 13:23:19,018 user.py 127 INFO role _member_ already created...... 2018-03-06 13:23:19,019 user.py 128 INFO test role 2018-03-06 13:23:19,623 user.py 77 INFO user create end...... 2018-03-06 13:23:19,624 main.py 97 INFO doctor fault management test starting....... 2018-03-06 13:23:19,624 user.py 181 INFO user quota update start...... 2018-03-06 13:23:20,389 user.py 197 INFO user quota update end...... 2018-03-06 13:23:20,389 network.py 41 INFO network create start....... 2018-03-06 13:23:21,893 network.py 47 INFO network create end....... 2018-03-06 13:23:21,894 network.py 49 INFO subnet create start....... 2018-03-06 13:23:22,494 network.py 58 INFO subnet create end....... 2018-03-06 13:23:22,494 instance.py 51 INFO instance create start...... 2018-03-06 13:23:24,673 instance.py 73 INFO instance create end...... 2018-03-06 13:23:24,673 instance.py 92 INFO wait for vm launch start...... 2018-03-06 13:23:29,737 instance.py 110 INFO wait for vm launch end...... 2018-03-06 13:23:29,738 alarm.py 45 INFO alarm create start...... 2018-03-06 13:23:31,340 alarm.py 81 INFO alarm create end...... 2018-03-06 13:23:31,341 sample.py 72 INFO sample inspector start...... 2018-03-06 13:23:32,168 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-06 13:23:33,143 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-06 13:23:37,516 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-06 13:23:37,517 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-06 13:23:37,517 sample.py 30 INFO sample monitor start...... 2018-03-06 13:23:37,518 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-06 13:25:37,529 network_failure.py 39 INFO fault inject start...... 2018-03-06 13:25:37,530 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-06 13:25:37,530 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'876d9c5597b82dc95fb5da0fe9f52eb1' key.get_fingerprint()))) 2018-03-06 13:25:37,605 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-06 13:25:37,789 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-06 13:25:37,839 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-06 13:25:37,840 network_failure.py 42 INFO fault inject end...... 2018-03-06 13:25:38,976 sample.py 97 INFO doctor monitor detected at 1520342738.9767747 2018-03-06 13:25:38,977 sample.py 41 INFO sample monitor report error...... 2018-03-06 13:25:38,984 sample.py 163 INFO event posted in sample inspector at 1520342738.9846706 2018-03-06 13:25:38,984 sample.py 164 INFO sample inspector = 2018-03-06 13:25:38,985 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-06T13:25:38.977289", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-06 13:25:39,042 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520342739.0427155 2018-03-06 13:25:39,151 sample.py 121 INFO doctor mark vm() error at 1520342739.1512294 127.0.0.1 - - [06/Mar/2018 13:25:39] "PUT /events HTTP/1.1" 200 - 2018-03-06 13:25:39,154 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-06 13:25:39,241 sample.py 57 INFO doctor consumer notified at 1520342739.24117 2018-03-06 13:25:39,241 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '23184d18-d28d-4428-802e-c1259c03d916', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'ec0139ea-7ac2-46ca-b863-1614f594fbe7'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 19], ['user_id', 1, 'debbd939817c45469657dffc1dde9603'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'd3e3336acec4459cbfd5c1b5a739e213'], ['launched_at', 4, '2018-03-06T13:17:25'], ['disk_gb', 2, 1], ['instance_id', 1, 'ec0139ea-7ac2-46ca-b863-1614f594fbe7'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'd3e3336acec4459cbfd5c1b5a739e213'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-63a475e5-9d82-4854-955a-013c8f31975a']], 'message_signature': '4adba3e3f19a7546dbe139ac85fff5040340a59d07ff3e7eb80a90e4cba99619', 'raw': {}, 'generated': '2018-03-06T13:25:39.130185', 'message_id': '67e30ba7-342e-4d43-8fa1-1e166f34ec42'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [06/Mar/2018 13:25:39] "POST /failure HTTP/1.1" 200 - 2018-03-06 13:25:47,918 main.py 121 INFO doctor fault management test successfully, notification_time=0.26439523696899414 2018-03-06 13:25:47,919 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-06 13:25:47,919 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-06 13:25:47,919 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-06 13:25:48,987 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-06 13:25:49,152 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-06 13:25:49,152 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-06 13:25:49,163 profiler_poc.py 97 INFO Total time cost: 363651(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |363387 |66 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:363387| | | | | | | | found affected:? | | | | | | | set VM error:363561| | | | | | marked host down:363453| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:363651 2018-03-06 13:25:51,275 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [06/Mar/2018 13:25:51] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-06 13:25:51,322 sample.py 35 INFO sample monitor stop...... 2018-03-06 13:25:51,322 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-06 13:25:51,322 sample.py 31 INFO sample consumer stop...... 2018-03-06 13:25:51,327 sample.py 64 INFO shutdown consumer app server at 1520342751.3271508 127.0.0.1 - - [06/Mar/2018 13:25:51] "POST /shutdown HTTP/1.1" 200 - 2018-03-06 13:25:51,329 alarm.py 84 INFO alarm delete start....... 2018-03-06 13:25:51,382 alarm.py 93 INFO alarm delete end....... 2018-03-06 13:25:51,382 instance.py 76 INFO instance delete start....... 2018-03-06 13:25:53,843 instance.py 89 INFO instance delete end....... 2018-03-06 13:25:53,843 network.py 61 INFO subnet delete start....... 2018-03-06 13:25:54,530 network.py 64 INFO subnet delete end....... 2018-03-06 13:25:54,530 network.py 66 INFO network delete start....... 2018-03-06 13:25:55,179 network.py 69 INFO network delete end....... 2018-03-06 13:25:55,179 network_failure.py 45 INFO fault inject cleanup...... 2018-03-06 13:25:55,179 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-06 13:25:55,180 apex.py 127 INFO restore apply patches start...... 2018-03-06 13:25:56,375 image.py 71 INFO image delete start....... 2018-03-06 13:25:57,412 image.py 76 INFO image delete end....... 2018-03-06 13:25:57,413 user.py 156 INFO user delete start...... 2018-03-06 13:25:57,916 user.py 178 INFO user delete end...... 2018-03-06 13:25:57,926 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-06 13:25:57,928 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-06 13:55:11,030 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'