/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.182: b'1c76f01bd3e75e7e79af4601d7228d74' key.get_fingerprint()))) 2018-03-06 10:30:59,021 main.py 161 INFO doctor test starting....... 2018-03-06 10:30:59,021 apex.py 38 INFO Setup Apex installer start...... 2018-03-06 10:30:59,022 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-06 10:30:59,074 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-06 10:31:02,661 apex.py 80 INFO Get controller_ips:['192.30.9.6', '192.30.9.10', '192.30.9.7'] from Apex installer 2018-03-06 10:31:03,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.6: b'aec6e70ba3cb3ad4a2bff87527a220be' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.10: b'5bee834760c10707a6a519198d83e8b2' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.7: b'69f4031f25a8171344e1608e59125551' key.get_fingerprint()))) 2018-03-06 10:31:24,140 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-06 10:31:24,155 image.py 48 INFO image create start...... 2018-03-06 10:31:38,762 image.py 68 INFO image create end...... 2018-03-06 10:31:38,763 user.py 69 INFO user create start...... 2018-03-06 10:31:38,854 user.py 85 INFO create project...... 2018-03-06 10:31:38,965 user.py 95 INFO test project 2018-03-06 10:31:39,073 user.py 103 INFO create user...... 2018-03-06 10:31:39,444 user.py 113 INFO test user 2018-03-06 10:31:39,524 user.py 127 INFO role _member_ already created...... 2018-03-06 10:31:39,524 user.py 128 INFO test role 2018-03-06 10:31:40,039 user.py 77 INFO user create end...... 2018-03-06 10:31:40,040 main.py 97 INFO doctor fault management test starting....... 2018-03-06 10:31:40,040 user.py 181 INFO user quota update start...... 2018-03-06 10:31:40,758 user.py 197 INFO user quota update end...... 2018-03-06 10:31:40,758 network.py 41 INFO network create start....... 2018-03-06 10:31:42,066 network.py 47 INFO network create end....... 2018-03-06 10:31:42,066 network.py 49 INFO subnet create start....... 2018-03-06 10:31:42,999 network.py 58 INFO subnet create end....... 2018-03-06 10:31:42,999 instance.py 51 INFO instance create start...... 2018-03-06 10:31:46,104 instance.py 73 INFO instance create end...... 2018-03-06 10:31:46,105 instance.py 92 INFO wait for vm launch start...... 2018-03-06 10:31:56,001 instance.py 110 INFO wait for vm launch end...... 2018-03-06 10:31:56,001 alarm.py 45 INFO alarm create start...... 2018-03-06 10:31:58,696 alarm.py 81 INFO alarm create end...... 2018-03-06 10:31:58,697 sample.py 72 INFO sample inspector start...... 2018-03-06 10:32:00,032 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 10:32:01,597 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-06 10:32:05,137 apex.py 95 INFO Get host_ip:['192.30.9.9'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-06 10:32:05,138 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.9) which vm(doctor_vm0) launched at 2018-03-06 10:32:05,138 sample.py 30 INFO sample monitor start...... 2018-03-06 10:32:05,139 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.9) 2018-03-06 10:34:05,230 network_failure.py 39 INFO fault inject start...... 2018-03-06 10:34:05,232 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-06 10:34:05,232 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.9: b'353db785dbbf0337a716f0efbf277116' key.get_fingerprint()))) 2018-03-06 10:34:05,312 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-06 10:34:05,502 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-06 10:34:05,554 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-06 10:34:05,555 network_failure.py 42 INFO fault inject end...... 2018-03-06 10:34:06,703 sample.py 97 INFO doctor monitor detected at 1520332446.7034435 2018-03-06 10:34:06,703 sample.py 41 INFO sample monitor report error...... 2018-03-06 10:34:06,712 sample.py 163 INFO event posted in sample inspector at 1520332446.7127035 2018-03-06 10:34:06,713 sample.py 164 INFO sample inspector = 2018-03-06 10:34:06,713 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-06T10:34:06.704004", "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 10:34:06,775 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520332446.77531 2018-03-06 10:34:06,865 sample.py 121 INFO doctor mark vm() error at 1520332446.8651066 127.0.0.1 - - [06/Mar/2018 10:34:06] "PUT /events HTTP/1.1" 200 - 2018-03-06 10:34:06,869 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-06 10:34:06,972 sample.py 57 INFO doctor consumer notified at 1520332446.9729035 2018-03-06 10:34:06,973 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '202fba82-efb5-4265-ba7c-7c44393e0004', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'ed09422c-133c-42ba-9fcc-318e9eb1361e'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 165], ['user_id', 1, '5731cbf222bf4c8ba8c1490341fa2181'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '44c4f43c654949ac801034e64d714c3d'], ['launched_at', 4, '2018-03-06T10:26:02'], ['disk_gb', 2, 1], ['instance_id', 1, 'ed09422c-133c-42ba-9fcc-318e9eb1361e'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '44c4f43c654949ac801034e64d714c3d'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-845b77d5-2331-4513-aab4-9d196c0e3e46']], 'message_signature': '49f8d5f55c2a3846607ca3361460fff59465f7dba4b9ac1a4afa73d3adc3b39a', 'raw': {}, 'generated': '2018-03-06T10:34:06.853027', 'message_id': 'c4c07fa6-38f0-46cf-97a3-ea9690db8f5e'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [06/Mar/2018 10:34:06] "POST /failure HTTP/1.1" 200 - 2018-03-06 10:34:15,618 main.py 121 INFO doctor fault management test successfully, notification_time=0.26945996284484863 2018-03-06 10:34:15,618 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-06 10:34:15,618 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-06 10:34:15,619 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-06 10:34:16,691 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-06 10:34:16,846 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.9) 2018-03-06 10:34:16,847 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-06 10:34:16,855 profiler_poc.py 97 INFO Total time cost: 348730(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |348460 |72 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:348460| | | | | | | | found affected:? | | | | | | | set VM error:348622| | | | | | marked host down:348532| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:348730 2018-03-06 10:34:18,969 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [06/Mar/2018 10:34:19] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-06 10:34:19,010 sample.py 35 INFO sample monitor stop...... 2018-03-06 10:34:19,011 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.9) 2018-03-06 10:34:19,011 sample.py 31 INFO sample consumer stop...... 2018-03-06 10:34:19,015 sample.py 64 INFO shutdown consumer app server at 1520332459.0151892 127.0.0.1 - - [06/Mar/2018 10:34:19] "POST /shutdown HTTP/1.1" 200 - 2018-03-06 10:34:19,017 alarm.py 84 INFO alarm delete start....... 2018-03-06 10:34:19,673 alarm.py 93 INFO alarm delete end....... 2018-03-06 10:34:19,674 instance.py 76 INFO instance delete start....... 2018-03-06 10:35:44,829 instance.py 89 INFO instance delete end....... 2018-03-06 10:35:44,830 network.py 61 INFO subnet delete start....... 2018-03-06 10:35:45,608 network.py 64 INFO subnet delete end....... 2018-03-06 10:35:45,608 network.py 66 INFO network delete start....... 2018-03-06 10:35:46,322 network.py 69 INFO network delete end....... 2018-03-06 10:35:46,323 network_failure.py 45 INFO fault inject cleanup...... 2018-03-06 10:35:46,323 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-06 10:35:46,323 apex.py 127 INFO restore apply patches start...... 2018-03-06 10:35:49,491 image.py 71 INFO image delete start....... 2018-03-06 10:35:50,707 image.py 76 INFO image delete end....... 2018-03-06 10:35:50,708 user.py 156 INFO user delete start...... 2018-03-06 10:35:51,199 user.py 178 INFO user delete end...... 2018-03-06 10:35:51,210 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-06 10:35:51,210 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'