/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.59: b'c55821564bbe8c6942b810d126983577' key.get_fingerprint()))) 2018-03-23 01:16:42,956 main.py 160 INFO doctor test starting....... 2018-03-23 01:16:42,956 apex.py 38 INFO Setup Apex installer start...... 2018-03-23 01:16:42,956 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-23 01:16:43,013 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-23 01:16:47,122 apex.py 80 INFO Get controller_ips:['192.30.9.7'] from Apex installer 2018-03-23 01:16:47,731 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.7: b'e6bcd4e1203f0e1ce452bec5ea8412e8' key.get_fingerprint()))) 2018-03-23 01:16:54,980 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-23 01:16:54,986 image.py 48 INFO image create start...... 2018-03-23 01:17:00,698 image.py 68 INFO image create end...... 2018-03-23 01:17:00,698 user.py 69 INFO user create start...... 2018-03-23 01:17:00,789 user.py 85 INFO create project...... 2018-03-23 01:17:00,898 user.py 95 INFO test project 2018-03-23 01:17:00,991 user.py 103 INFO create user...... 2018-03-23 01:17:01,342 user.py 113 INFO test user 2018-03-23 01:17:01,423 user.py 127 INFO role _member_ already created...... 2018-03-23 01:17:01,423 user.py 128 INFO test role 2018-03-23 01:17:02,669 user.py 77 INFO user create end...... 2018-03-23 01:17:02,669 main.py 96 INFO doctor fault management test starting....... 2018-03-23 01:17:02,670 user.py 181 INFO user quota update start...... 2018-03-23 01:17:03,412 user.py 197 INFO user quota update end...... 2018-03-23 01:17:03,412 network.py 41 INFO network create start....... 2018-03-23 01:17:04,724 network.py 47 INFO network create end....... 2018-03-23 01:17:04,724 network.py 49 INFO subnet create start....... 2018-03-23 01:17:05,185 network.py 58 INFO subnet create end....... 2018-03-23 01:17:05,186 instance.py 51 INFO instance create start...... 2018-03-23 01:17:07,258 instance.py 73 INFO instance create end...... 2018-03-23 01:17:07,258 instance.py 92 INFO wait for vm launch start...... 2018-03-23 01:17:21,461 instance.py 110 INFO wait for vm launch end...... 2018-03-23 01:17:21,462 alarm.py 45 INFO alarm create start...... 2018-03-23 01:17:23,193 alarm.py 81 INFO alarm create end...... 2018-03-23 01:17:23,193 sample.py 72 INFO sample inspector start...... 2018-03-23 01:17:24,287 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-23 01:17:25,258 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-23 01:17:29,414 apex.py 95 INFO Get host_ip:['192.30.9.5'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-23 01:17:29,415 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-23 01:17:29,415 sample.py 30 INFO sample monitor start...... 2018-03-23 01:17:29,416 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.5) 2018-03-23 01:19:29,516 network_failure.py 39 INFO fault inject start...... 2018-03-23 01:19:29,517 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-23 01:19:29,518 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'12e14ca0eae242e63af3af238a5b3a55' key.get_fingerprint()))) 2018-03-23 01:19:29,590 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-23 01:19:29,788 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-23 01:19:29,838 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-23 01:19:29,839 network_failure.py 42 INFO fault inject end...... 2018-03-23 01:19:30,962 sample.py 97 INFO doctor monitor detected at 1521767970.9625676 2018-03-23 01:19:30,962 sample.py 41 INFO sample monitor report error...... 2018-03-23 01:19:30,971 sample.py 163 INFO event posted in sample inspector at 1521767970.9713666 2018-03-23 01:19:30,971 sample.py 164 INFO sample inspector = 2018-03-23 01:19:30,972 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-23T01:19:30.963118", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-23 01:19:31,362 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521767971.3626406 2018-03-23 01:19:31,659 sample.py 121 INFO doctor mark vm() error at 1521767971.6593668 127.0.0.1 - - [23/Mar/2018 01:19:31] "PUT /events HTTP/1.1" 200 - 2018-03-23 01:19:31,663 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-23 01:19:31,816 sample.py 57 INFO doctor consumer notified at 1521767971.8164887 2018-03-23 01:19:31,817 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '78a6b482-1560-4d70-9636-f83213e72d36', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '8cd55f25-55c1-456d-9cd1-95a9b0717979'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 82], ['user_id', 1, 'eade794e5afd4857a0b4c391fc1cba2d'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'af15f2cd9d324bd582c34e459e67ddd4'], ['launched_at', 4, '2018-03-23T01:10:53'], ['disk_gb', 2, 1], ['instance_id', 1, '8cd55f25-55c1-456d-9cd1-95a9b0717979'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'af15f2cd9d324bd582c34e459e67ddd4'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-7825247e-5a7e-4728-baab-f4bdc9b88919']], 'message_signature': '99c903d5b26247d47c878ae6c8f60f06591d0f25d4615e7eef35874bfdac0d1d', 'raw': {}, 'generated': '2018-03-23T01:19:31.640526', 'message_id': 'cab3300e-830a-4117-bb70-a7a1faca1028'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [23/Mar/2018 01:19:31] "POST /failure HTTP/1.1" 200 - 2018-03-23 01:19:39,892 main.py 120 INFO doctor fault management test successfully, notification_time=0.8539211750030518 2018-03-23 01:19:39,893 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-23 01:19:39,893 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-23 01:19:39,893 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-23 01:19:40,961 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-23 01:19:41,127 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-23 01:19:41,128 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-23 01:19:41,138 profiler_poc.py 97 INFO Total time cost: 383583(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |382729 |400 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:382729| | | | | | | | found affected:? | | | | | | | set VM error:383426| | | | | | marked host down:383129| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:383583 2018-03-23 01:19:43,238 sample.py 78 INFO sample inspector stop...... 2018-03-23 01:19:43,276 sample.py 173 INFO shutdown inspector app server at 1521767983.2764468 127.0.0.1 - - [23/Mar/2018 01:19:43] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-23 01:19:43,278 sample.py 35 INFO sample monitor stop...... 2018-03-23 01:19:43,278 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.5) 2018-03-23 01:19:43,279 sample.py 31 INFO sample consumer stop...... 2018-03-23 01:19:43,283 sample.py 64 INFO shutdown consumer app server at 1521767983.283116 127.0.0.1 - - [23/Mar/2018 01:19:43] "POST /shutdown HTTP/1.1" 200 - 2018-03-23 01:19:43,285 alarm.py 84 INFO alarm delete start....... 2018-03-23 01:19:43,348 alarm.py 93 INFO alarm delete end....... 2018-03-23 01:19:43,348 instance.py 76 INFO instance delete start....... 2018-03-23 01:21:18,868 instance.py 89 INFO instance delete end....... 2018-03-23 01:21:18,868 network.py 61 INFO subnet delete start....... 2018-03-23 01:21:19,520 network.py 64 INFO subnet delete end....... 2018-03-23 01:21:19,520 network.py 66 INFO network delete start....... 2018-03-23 01:21:20,315 network.py 69 INFO network delete end....... 2018-03-23 01:21:20,316 network_failure.py 45 INFO fault inject cleanup...... 2018-03-23 01:21:20,316 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-23 01:21:20,316 apex.py 127 INFO restore apply patches start...... 2018-03-23 01:21:21,481 image.py 71 INFO image delete start....... 2018-03-23 01:21:24,069 image.py 76 INFO image delete end....... 2018-03-23 01:21:24,069 user.py 156 INFO user delete start...... 2018-03-23 01:21:24,843 user.py 178 INFO user delete end...... Total time cost: 383583(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |382729 |400 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:382729| | | | | | | | found affected:? | | | | | | | set VM error:383426| | | | | | marked host down:383129| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:383583 2018-03-23 01:21:24,995 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-23 02:06:34,657 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'