/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.203: b'a7df6c07308a9994d05caf3f57700752' key.get_fingerprint()))) 2018-03-12 13:13:34,503 main.py 160 INFO doctor test starting....... 2018-03-12 13:13:34,503 apex.py 38 INFO Setup Apex installer start...... 2018-03-12 13:13:34,503 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-12 13:13:34,549 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-12 13:13:38,676 apex.py 80 INFO Get controller_ips:['192.30.9.9'] from Apex installer 2018-03-12 13:13:39,287 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'8b0ee8f4caed70be19f387af9011591c' key.get_fingerprint()))) 2018-03-12 13:13:44,481 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-12 13:13:44,487 image.py 48 INFO image create start...... 2018-03-12 13:13:50,037 image.py 68 INFO image create end...... 2018-03-12 13:13:50,037 user.py 69 INFO user create start...... 2018-03-12 13:13:50,130 user.py 85 INFO create project...... 2018-03-12 13:13:50,251 user.py 95 INFO test project 2018-03-12 13:13:50,347 user.py 103 INFO create user...... 2018-03-12 13:13:50,677 user.py 113 INFO test user 2018-03-12 13:13:50,766 user.py 127 INFO role _member_ already created...... 2018-03-12 13:13:50,767 user.py 128 INFO test role 2018-03-12 13:13:51,260 user.py 77 INFO user create end...... 2018-03-12 13:13:51,261 main.py 96 INFO doctor fault management test starting....... 2018-03-12 13:13:51,261 user.py 181 INFO user quota update start...... 2018-03-12 13:13:51,955 user.py 197 INFO user quota update end...... 2018-03-12 13:13:51,955 network.py 41 INFO network create start....... 2018-03-12 13:13:52,903 network.py 47 INFO network create end....... 2018-03-12 13:13:52,903 network.py 49 INFO subnet create start....... 2018-03-12 13:13:53,677 network.py 58 INFO subnet create end....... 2018-03-12 13:13:53,677 instance.py 51 INFO instance create start...... 2018-03-12 13:13:56,170 instance.py 73 INFO instance create end...... 2018-03-12 13:13:56,171 instance.py 92 INFO wait for vm launch start...... 2018-03-12 13:14:05,107 instance.py 110 INFO wait for vm launch end...... 2018-03-12 13:14:05,107 alarm.py 45 INFO alarm create start...... 2018-03-12 13:14:07,621 alarm.py 81 INFO alarm create end...... 2018-03-12 13:14:07,622 sample.py 72 INFO sample inspector start...... 2018-03-12 13:14:08,582 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-12 13:14:09,368 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-12 13:14:13,440 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-12 13:14:13,440 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-12 13:14:13,441 sample.py 30 INFO sample monitor start...... 2018-03-12 13:14:13,441 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-12 13:16:13,488 network_failure.py 39 INFO fault inject start...... 2018-03-12 13:16:13,489 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-12 13:16:13,490 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'8736f2c83d1d74ffb9d746d3118a145c' key.get_fingerprint()))) 2018-03-12 13:16:13,562 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-12 13:16:13,743 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-12 13:16:13,792 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-12 13:16:13,793 network_failure.py 42 INFO fault inject end...... 2018-03-12 13:16:14,953 sample.py 97 INFO doctor monitor detected at 1520860574.953187 2018-03-12 13:16:14,953 sample.py 41 INFO sample monitor report error...... 2018-03-12 13:16:14,961 sample.py 163 INFO event posted in sample inspector at 1520860574.9619548 2018-03-12 13:16:14,962 sample.py 164 INFO sample inspector = 2018-03-12 13:16:14,962 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-12T13:16:14.953717", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-12 13:16:15,053 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520860575.0536103 2018-03-12 13:16:15,131 sample.py 121 INFO doctor mark vm() error at 1520860575.131234 127.0.0.1 - - [12/Mar/2018 13:16:15] "PUT /events HTTP/1.1" 200 - 2018-03-12 13:16:15,134 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-12 13:16:15,260 sample.py 57 INFO doctor consumer notified at 1520860575.2608242 2018-03-12 13:16:15,261 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '55f85748-85a0-4ced-9c3d-5127ef4fddb7', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'f8a98ef9-b305-43da-ad1c-f6033b775fc3'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 67], ['user_id', 1, 'bc641a5fed414269bc099f537c55ea96'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '6846c8d75a984ef9aaed549d161f97aa'], ['launched_at', 4, '2018-03-12T13:08:08'], ['disk_gb', 2, 1], ['instance_id', 1, 'f8a98ef9-b305-43da-ad1c-f6033b775fc3'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '6846c8d75a984ef9aaed549d161f97aa'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-7f3a3167-d4e6-4c85-a585-f15c82a027ef']], 'message_signature': 'd1cc34ab673eb3ebd5a24c34cdaf6caa10fc73e04c3f072cf2e1cc71f831f3e4', 'raw': {}, 'generated': '2018-03-12T13:16:15.118406', 'message_id': '97411542-27a3-4bfb-8db1-8abd091f6f70'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [12/Mar/2018 13:16:15] "POST /failure HTTP/1.1" 200 - 2018-03-12 13:16:23,862 main.py 120 INFO doctor fault management test successfully, notification_time=0.30763721466064453 2018-03-12 13:16:23,862 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-12 13:16:23,863 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-12 13:16:23,863 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-12 13:16:24,936 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-12 13:16:25,090 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-12 13:16:25,090 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-12 13:16:25,101 profiler_poc.py 97 INFO Total time cost: 356847(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |356540 |100 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:356540| | | | | | | | found affected:? | | | | | | | set VM error:356718| | | | | | marked host down:356640| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356847 2018-03-12 13:16:27,448 sample.py 78 INFO sample inspector stop...... 2018-03-12 13:16:27,491 sample.py 173 INFO shutdown inspector app server at 1520860587.4915237 127.0.0.1 - - [12/Mar/2018 13:16:27] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-12 13:16:27,494 sample.py 35 INFO sample monitor stop...... 2018-03-12 13:16:27,494 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-12 13:16:27,494 sample.py 31 INFO sample consumer stop...... 2018-03-12 13:16:27,499 sample.py 64 INFO shutdown consumer app server at 1520860587.4992929 127.0.0.1 - - [12/Mar/2018 13:16:27] "POST /shutdown HTTP/1.1" 200 - 2018-03-12 13:16:27,501 alarm.py 84 INFO alarm delete start....... 2018-03-12 13:16:27,556 alarm.py 93 INFO alarm delete end....... 2018-03-12 13:16:27,557 instance.py 76 INFO instance delete start....... 2018-03-12 13:17:27,790 instance.py 89 INFO instance delete end....... 2018-03-12 13:17:27,790 network.py 61 INFO subnet delete start....... 2018-03-12 13:17:28,339 network.py 64 INFO subnet delete end....... 2018-03-12 13:17:28,340 network.py 66 INFO network delete start....... 2018-03-12 13:17:29,044 network.py 69 INFO network delete end....... 2018-03-12 13:17:29,045 network_failure.py 45 INFO fault inject cleanup...... 2018-03-12 13:17:29,045 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-12 13:17:29,045 apex.py 127 INFO restore apply patches start...... 2018-03-12 13:17:30,238 image.py 71 INFO image delete start....... 2018-03-12 13:17:32,201 image.py 76 INFO image delete end....... 2018-03-12 13:17:32,201 user.py 156 INFO user delete start...... 2018-03-12 13:17:32,941 user.py 178 INFO user delete end...... Total time cost: 356847(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |356540 |100 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:356540| | | | | | | | found affected:? | | | | | | | set VM error:356718| | | | | | marked host down:356640| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356847 2018-03-12 13:17:33,104 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-12 13:56:13,087 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'