/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.206: b'93e7685d72fe1ec9a26630108138e22f' key.get_fingerprint()))) 2018-03-25 11:43:28,942 main.py 160 INFO doctor test starting....... 2018-03-25 11:43:28,942 apex.py 38 INFO Setup Apex installer start...... 2018-03-25 11:43:28,942 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-25 11:43:28,989 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-25 11:43:32,983 apex.py 80 INFO Get controller_ips:['192.30.9.3'] from Apex installer 2018-03-25 11:43:33,614 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'3edb0dd71eb7f2a6234b1747055638d1' key.get_fingerprint()))) 2018-03-25 11:43:38,243 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-25 11:43:38,248 image.py 48 INFO image create start...... 2018-03-25 11:43:44,799 image.py 68 INFO image create end...... 2018-03-25 11:43:44,799 user.py 69 INFO user create start...... 2018-03-25 11:43:44,884 user.py 85 INFO create project...... 2018-03-25 11:43:45,000 user.py 95 INFO test project 2018-03-25 11:43:45,092 user.py 103 INFO create user...... 2018-03-25 11:43:45,468 user.py 113 INFO test user 2018-03-25 11:43:45,558 user.py 127 INFO role _member_ already created...... 2018-03-25 11:43:45,558 user.py 128 INFO test role 2018-03-25 11:43:46,154 user.py 77 INFO user create end...... 2018-03-25 11:43:46,156 main.py 96 INFO doctor fault management test starting....... 2018-03-25 11:43:46,156 user.py 181 INFO user quota update start...... 2018-03-25 11:43:47,212 user.py 197 INFO user quota update end...... 2018-03-25 11:43:47,213 network.py 41 INFO network create start....... 2018-03-25 11:43:48,235 network.py 47 INFO network create end....... 2018-03-25 11:43:48,236 network.py 49 INFO subnet create start....... 2018-03-25 11:43:48,957 network.py 58 INFO subnet create end....... 2018-03-25 11:43:48,958 instance.py 51 INFO instance create start...... 2018-03-25 11:43:51,144 instance.py 73 INFO instance create end...... 2018-03-25 11:43:51,145 instance.py 92 INFO wait for vm launch start...... 2018-03-25 11:44:01,560 instance.py 110 INFO wait for vm launch end...... 2018-03-25 11:44:01,560 alarm.py 45 INFO alarm create start...... 2018-03-25 11:44:03,236 alarm.py 81 INFO alarm create end...... 2018-03-25 11:44:03,236 sample.py 72 INFO sample inspector start...... 2018-03-25 11:44:04,887 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-25 11:44:05,910 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-25 11:44:09,848 apex.py 95 INFO Get host_ip:['192.30.9.5'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-25 11:44:09,849 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.5) which vm(doctor_vm0) launched at 2018-03-25 11:44:09,849 sample.py 30 INFO sample monitor start...... 2018-03-25 11:44:09,850 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.5) 2018-03-25 11:46:09,924 network_failure.py 39 INFO fault inject start...... 2018-03-25 11:46:09,926 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-25 11:46:09,926 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.5: b'd0f379c4308c08b5f5bac6391792bea7' key.get_fingerprint()))) 2018-03-25 11:46:10,000 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-25 11:46:10,180 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-25 11:46:10,231 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-25 11:46:10,232 network_failure.py 42 INFO fault inject end...... 2018-03-25 11:46:11,429 sample.py 97 INFO doctor monitor detected at 1521978371.4295747 2018-03-25 11:46:11,429 sample.py 41 INFO sample monitor report error...... 2018-03-25 11:46:11,438 sample.py 163 INFO event posted in sample inspector at 1521978371.438518 2018-03-25 11:46:11,438 sample.py 164 INFO sample inspector = 2018-03-25 11:46:11,439 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-25T11:46:11.430107", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-25 11:46:11,497 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521978371.4971735 2018-03-25 11:46:11,587 sample.py 121 INFO doctor mark vm() error at 1521978371.5871396 127.0.0.1 - - [25/Mar/2018 11:46:11] "PUT /events HTTP/1.1" 200 - 2018-03-25 11:46:11,590 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-25 11:46:11,774 sample.py 57 INFO doctor consumer notified at 1521978371.774105 2018-03-25 11:46:11,774 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'b3d1e019-d949-42d2-9894-2bf59e05376d', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'cdff3b58-9c3a-4f71-af88-9142c015a36d'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 82], ['user_id', 1, '1dd6fa36a5eb4025865df946a4d1853e'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'cf06f2cf9c924066b4cf72573a1961d5'], ['launched_at', 4, '2018-03-25T11:37:34'], ['disk_gb', 2, 1], ['instance_id', 1, 'cdff3b58-9c3a-4f71-af88-9142c015a36d'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'cf06f2cf9c924066b4cf72573a1961d5'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-c97215a9-45e7-49c1-b0ba-230aca4c2069']], 'message_signature': 'c95c607794fab479efd0a5870dd2326eae4959f9afde57f1a07382809f0be2b0', 'raw': {}, 'generated': '2018-03-25T11:46:11.573539', 'message_id': 'c3676568-043f-42f0-9e23-428953460c00'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [25/Mar/2018 11:46:11] "POST /failure HTTP/1.1" 200 - 2018-03-25 11:46:20,294 main.py 120 INFO doctor fault management test successfully, notification_time=0.3445303440093994 2018-03-25 11:46:20,295 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-25 11:46:20,295 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-25 11:46:20,295 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-25 11:46:21,366 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-25 11:46:21,531 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.5) 2018-03-25 11:46:21,532 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-25 11:46:21,542 profiler_poc.py 97 INFO Total time cost: 385388(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |385043 |68 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:385043| | | | | | | | found affected:? | | | | | | | set VM error:385201| | | | | | marked host down:385111| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:385388 2018-03-25 11:46:23,979 sample.py 78 INFO sample inspector stop...... 2018-03-25 11:46:24,013 sample.py 173 INFO shutdown inspector app server at 1521978384.0138264 127.0.0.1 - - [25/Mar/2018 11:46:24] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-25 11:46:24,016 sample.py 35 INFO sample monitor stop...... 2018-03-25 11:46:24,016 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.5) 2018-03-25 11:46:24,016 sample.py 31 INFO sample consumer stop...... 2018-03-25 11:46:24,021 sample.py 64 INFO shutdown consumer app server at 1521978384.0213056 127.0.0.1 - - [25/Mar/2018 11:46:24] "POST /shutdown HTTP/1.1" 200 - 2018-03-25 11:46:24,023 alarm.py 84 INFO alarm delete start....... 2018-03-25 11:46:24,105 alarm.py 93 INFO alarm delete end....... 2018-03-25 11:46:24,105 instance.py 76 INFO instance delete start....... 2018-03-25 11:47:56,579 instance.py 89 INFO instance delete end....... 2018-03-25 11:47:56,580 network.py 61 INFO subnet delete start....... 2018-03-25 11:47:57,333 network.py 64 INFO subnet delete end....... 2018-03-25 11:47:57,334 network.py 66 INFO network delete start....... 2018-03-25 11:47:57,888 network.py 69 INFO network delete end....... 2018-03-25 11:47:57,889 network_failure.py 45 INFO fault inject cleanup...... 2018-03-25 11:47:57,889 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-25 11:47:57,889 apex.py 127 INFO restore apply patches start...... 2018-03-25 11:47:59,071 image.py 71 INFO image delete start....... 2018-03-25 11:48:01,355 image.py 76 INFO image delete end....... 2018-03-25 11:48:01,355 user.py 156 INFO user delete start...... 2018-03-25 11:48:01,976 user.py 178 INFO user delete end...... Total time cost: 385388(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |385043 |68 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:385043| | | | | | | | found affected:? | | | | | | | set VM error:385201| | | | | | marked host down:385111| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:385388 2018-03-25 11:48:02,156 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-25 12:26:41,258 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'