/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.194: b'152fe7143cfc37b564cb1f99e252e4f7' key.get_fingerprint()))) 2018-03-25 20:09:10,391 main.py 160 INFO doctor test starting....... 2018-03-25 20:09:10,391 apex.py 38 INFO Setup Apex installer start...... 2018-03-25 20:09:10,391 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-25 20:09:10,448 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-25 20:09:14,275 apex.py 80 INFO Get controller_ips:['192.30.9.5'] from Apex installer 2018-03-25 20:09:14,881 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.5: b'd2bd8dacf7ec03dd69f4d0df5a0b7d9e' key.get_fingerprint()))) 2018-03-25 20:09:21,122 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-25 20:09:21,128 image.py 48 INFO image create start...... 2018-03-25 20:09:26,242 image.py 68 INFO image create end...... 2018-03-25 20:09:26,242 user.py 69 INFO user create start...... 2018-03-25 20:09:26,413 user.py 85 INFO create project...... 2018-03-25 20:09:26,502 user.py 95 INFO test project 2018-03-25 20:09:26,593 user.py 103 INFO create user...... 2018-03-25 20:09:26,933 user.py 113 INFO test user 2018-03-25 20:09:27,008 user.py 127 INFO role _member_ already created...... 2018-03-25 20:09:27,008 user.py 128 INFO test role 2018-03-25 20:09:27,510 user.py 77 INFO user create end...... 2018-03-25 20:09:27,511 main.py 96 INFO doctor fault management test starting....... 2018-03-25 20:09:27,511 user.py 181 INFO user quota update start...... 2018-03-25 20:09:28,179 user.py 197 INFO user quota update end...... 2018-03-25 20:09:28,179 network.py 41 INFO network create start....... 2018-03-25 20:09:29,202 network.py 47 INFO network create end....... 2018-03-25 20:09:29,202 network.py 49 INFO subnet create start....... 2018-03-25 20:09:29,716 network.py 58 INFO subnet create end....... 2018-03-25 20:09:29,716 instance.py 51 INFO instance create start...... 2018-03-25 20:09:31,515 instance.py 73 INFO instance create end...... 2018-03-25 20:09:31,515 instance.py 92 INFO wait for vm launch start...... 2018-03-25 20:09:40,931 instance.py 110 INFO wait for vm launch end...... 2018-03-25 20:09:40,931 alarm.py 45 INFO alarm create start...... 2018-03-25 20:09:42,475 alarm.py 81 INFO alarm create end...... 2018-03-25 20:09:42,475 sample.py 72 INFO sample inspector start...... 2018-03-25 20:09:43,464 sample.py 26 INFO sample consumer start...... * Running on http://0.0.0.0:12346/ (Press CTRL+C to quit) * Running on http://0.0.0.0:12345/ (Press CTRL+C to quit) 2018-03-25 20:09:44,253 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-25 20:09:48,247 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-25 20:09:48,247 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.10) which vm(doctor_vm0) launched at 2018-03-25 20:09:48,248 sample.py 30 INFO sample monitor start...... 2018-03-25 20:09:48,249 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-25 20:11:48,349 network_failure.py 39 INFO fault inject start...... 2018-03-25 20:11:48,351 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-25 20:11:48,351 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.10: b'29969ddf154bc22c086457b6266a888d' key.get_fingerprint()))) 2018-03-25 20:11:48,426 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-25 20:11:48,602 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-25 20:11:48,653 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-25 20:11:48,654 network_failure.py 42 INFO fault inject end...... 2018-03-25 20:11:49,831 sample.py 97 INFO doctor monitor detected at 1522008709.8317368 2018-03-25 20:11:49,832 sample.py 41 INFO sample monitor report error...... 2018-03-25 20:11:49,840 sample.py 163 INFO event posted in sample inspector at 1522008709.8405988 2018-03-25 20:11:49,840 sample.py 164 INFO sample inspector = 2018-03-25 20:11:49,841 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-25T20:11:49.832377", "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 20:11:49,898 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1522008709.8982863 2018-03-25 20:11:50,005 sample.py 121 INFO doctor mark vm() error at 1522008710.005901 127.0.0.1 - - [25/Mar/2018 20:11:50] "PUT /events HTTP/1.1" 200 - 2018-03-25 20:11:50,008 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-25 20:11:50,093 sample.py 57 INFO doctor consumer notified at 1522008710.093473 2018-03-25 20:11:50,094 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'b2160a16-f0a4-4ec3-88e0-92a24c71f863', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'bd7f5bfa-39c6-4143-a77d-0330c5ec9fb4'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 82], ['user_id', 1, 'a6c8a0a95a0748dc97e81510b86c6629'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'a4a51bede98c4cd59ccd494717a79817'], ['launched_at', 4, '2018-03-25T20:03:25'], ['disk_gb', 2, 1], ['instance_id', 1, 'bd7f5bfa-39c6-4143-a77d-0330c5ec9fb4'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'a4a51bede98c4cd59ccd494717a79817'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-e36f7e5f-9342-49fe-a490-a129a78c6a04']], 'message_signature': '29e5e8eb9c0f5032028cc98fe165454e3d01a220011a81c853c2b2711b0eb56c', 'raw': {}, 'generated': '2018-03-25T20:11:49.990026', 'message_id': 'c3d409ed-ecf7-4d73-96cb-652944a85b1e'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [25/Mar/2018 20:11:50] "POST /failure HTTP/1.1" 200 - 2018-03-25 20:11:58,723 main.py 120 INFO doctor fault management test successfully, notification_time=0.2617361545562744 2018-03-25 20:11:58,724 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-25 20:11:58,724 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-25 20:11:58,724 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-25 20:11:59,794 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-25 20:11:59,958 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.10) 2018-03-25 20:11:59,958 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-25 20:11:59,969 profiler_poc.py 97 INFO Total time cost: 372356(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |372094 |67 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:372094| | | | | | | | found affected:? | | | | | | | set VM error:372269| | | | | | marked host down:372161| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:372356 2018-03-25 20:12:02,079 sample.py 78 INFO sample inspector stop...... 2018-03-25 20:12:02,117 sample.py 173 INFO shutdown inspector app server at 1522008722.1177878 127.0.0.1 - - [25/Mar/2018 20:12:02] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-25 20:12:02,120 sample.py 35 INFO sample monitor stop...... 2018-03-25 20:12:02,121 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-25 20:12:02,121 sample.py 31 INFO sample consumer stop...... 2018-03-25 20:12:02,126 sample.py 64 INFO shutdown consumer app server at 1522008722.1261117 127.0.0.1 - - [25/Mar/2018 20:12:02] "POST /shutdown HTTP/1.1" 200 - 2018-03-25 20:12:02,128 alarm.py 84 INFO alarm delete start....... 2018-03-25 20:12:02,181 alarm.py 93 INFO alarm delete end....... 2018-03-25 20:12:02,181 instance.py 76 INFO instance delete start....... 2018-03-25 20:12:04,077 instance.py 89 INFO instance delete end....... 2018-03-25 20:12:04,077 network.py 61 INFO subnet delete start....... 2018-03-25 20:12:04,676 network.py 64 INFO subnet delete end....... 2018-03-25 20:12:04,677 network.py 66 INFO network delete start....... 2018-03-25 20:12:05,446 network.py 69 INFO network delete end....... 2018-03-25 20:12:05,446 network_failure.py 45 INFO fault inject cleanup...... 2018-03-25 20:12:05,446 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-25 20:12:05,447 apex.py 127 INFO restore apply patches start...... 2018-03-25 20:12:06,651 image.py 71 INFO image delete start....... 2018-03-25 20:12:07,683 image.py 76 INFO image delete end....... 2018-03-25 20:12:07,683 user.py 156 INFO user delete start...... 2018-03-25 20:12:08,194 user.py 178 INFO user delete end...... Total time cost: 372356(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |372094 |67 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:372094| | | | | | | | found affected:? | | | | | | | set VM error:372269| | | | | | marked host down:372161| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:372356 2018-03-25 20:12:08,346 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'