/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.122: b'22889e604e11d26dba9cb71af754ce93' key.get_fingerprint()))) 2018-03-24 23:23:37,927 main.py 160 INFO doctor test starting....... 2018-03-24 23:23:37,927 apex.py 38 INFO Setup Apex installer start...... 2018-03-24 23:23:37,927 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-24 23:23:37,971 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-24 23:23:42,222 apex.py 80 INFO Get controller_ips:['192.30.9.6', '192.30.9.4', '192.30.9.8'] from Apex installer 2018-03-24 23:23:42,861 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'd244fd70f22fc8d4d207a3d24ba8931d' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.4: b'6db7d47b8034e3f859267c230dbf31ff' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.8: b'fee473d492844d50ab553abd38ba5bf8' key.get_fingerprint()))) 2018-03-24 23:24:09,317 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-24 23:24:09,328 image.py 48 INFO image create start...... 2018-03-24 23:24:18,443 image.py 68 INFO image create end...... 2018-03-24 23:24:18,444 user.py 69 INFO user create start...... 2018-03-24 23:24:18,537 user.py 85 INFO create project...... 2018-03-24 23:24:18,681 user.py 95 INFO test project 2018-03-24 23:24:18,790 user.py 103 INFO create user...... 2018-03-24 23:24:19,232 user.py 113 INFO test user 2018-03-24 23:24:19,312 user.py 127 INFO role _member_ already created...... 2018-03-24 23:24:19,313 user.py 128 INFO test role 2018-03-24 23:24:19,962 user.py 77 INFO user create end...... 2018-03-24 23:24:19,963 main.py 96 INFO doctor fault management test starting....... 2018-03-24 23:24:19,963 user.py 181 INFO user quota update start...... 2018-03-24 23:24:20,673 user.py 197 INFO user quota update end...... 2018-03-24 23:24:20,673 network.py 41 INFO network create start....... 2018-03-24 23:24:23,341 network.py 47 INFO network create end....... 2018-03-24 23:24:23,342 network.py 49 INFO subnet create start....... 2018-03-24 23:24:24,889 network.py 58 INFO subnet create end....... 2018-03-24 23:24:24,889 instance.py 51 INFO instance create start...... 2018-03-24 23:24:28,138 instance.py 73 INFO instance create end...... 2018-03-24 23:24:28,138 instance.py 92 INFO wait for vm launch start...... 2018-03-24 23:24:42,323 instance.py 110 INFO wait for vm launch end...... 2018-03-24 23:24:42,324 alarm.py 45 INFO alarm create start...... 2018-03-24 23:24:44,838 alarm.py 81 INFO alarm create end...... 2018-03-24 23:24:44,838 sample.py 72 INFO sample inspector start...... 2018-03-24 23:24:46,206 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-24 23:24:47,712 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-24 23:24:51,807 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-24 23:24:51,808 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-03-24 23:24:51,808 sample.py 30 INFO sample monitor start...... 2018-03-24 23:24:51,808 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-24 23:26:51,905 network_failure.py 39 INFO fault inject start...... 2018-03-24 23:26:51,906 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-24 23:26:51,907 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.7: b'9197e4d210024ad08a0916a90df1ba6f' key.get_fingerprint()))) 2018-03-24 23:26:51,978 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-24 23:26:52,151 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-24 23:26:52,201 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-24 23:26:52,202 network_failure.py 42 INFO fault inject end...... 2018-03-24 23:26:53,327 sample.py 97 INFO doctor monitor detected at 1521934013.3269477 2018-03-24 23:26:53,327 sample.py 41 INFO sample monitor report error...... 2018-03-24 23:26:53,335 sample.py 163 INFO event posted in sample inspector at 1521934013.3353188 2018-03-24 23:26:53,335 sample.py 164 INFO sample inspector = 2018-03-24 23:26:53,336 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-24T23:26:53.327478", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-24 23:26:53,588 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521934013.588818 2018-03-24 23:26:53,744 sample.py 121 INFO doctor mark vm() error at 1521934013.744396 127.0.0.1 - - [24/Mar/2018 23:26:53] "PUT /events HTTP/1.1" 200 - 2018-03-24 23:26:53,747 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-24 23:26:53,881 sample.py 57 INFO doctor consumer notified at 1521934013.8812823 2018-03-24 23:26:53,881 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '5f1e9b02-eea9-4d57-88e1-4718fb97d53d', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'a5d286b2-5ab7-4db3-9a66-6c30927b4c20'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 246], ['user_id', 1, 'bae1977473994045822415692877462a'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'f9b8c5a2f6aa4dda85d54141e42b1212'], ['launched_at', 4, '2018-03-24T23:18:15'], ['disk_gb', 2, 1], ['instance_id', 1, 'a5d286b2-5ab7-4db3-9a66-6c30927b4c20'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'f9b8c5a2f6aa4dda85d54141e42b1212'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-6d2e28be-2a4e-4d02-b4ed-75ae2920bc4d']], 'message_signature': '711f36ddf295704264920a5c3a3601c25a8959e02014cc96ae1496e8800021d3', 'raw': {}, 'generated': '2018-03-24T23:26:53.723466', 'message_id': 'f319d5b3-8c59-4104-89a3-9988d90ee85c'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [24/Mar/2018 23:26:53] "POST /failure HTTP/1.1" 200 - 2018-03-24 23:27:02,268 main.py 120 INFO doctor fault management test successfully, notification_time=0.5543346405029297 2018-03-24 23:27:02,268 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-24 23:27:02,269 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-24 23:27:02,269 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-24 23:27:03,338 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-24 23:27:03,508 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.7) 2018-03-24 23:27:03,508 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-24 23:27:03,520 profiler_poc.py 97 INFO Total time cost: 385269(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |384715 |262 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:384715| | | | | | | | found affected:? | | | | | | | set VM error:385133| | | | | | marked host down:384977| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:385269 2018-03-24 23:27:05,621 sample.py 78 INFO sample inspector stop...... 2018-03-24 23:27:05,658 sample.py 173 INFO shutdown inspector app server at 1521934025.658927 127.0.0.1 - - [24/Mar/2018 23:27:05] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-24 23:27:05,661 sample.py 35 INFO sample monitor stop...... 2018-03-24 23:27:05,662 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-24 23:27:05,662 sample.py 31 INFO sample consumer stop...... 2018-03-24 23:27:05,666 sample.py 64 INFO shutdown consumer app server at 1521934025.6664026 127.0.0.1 - - [24/Mar/2018 23:27:05] "POST /shutdown HTTP/1.1" 200 - 2018-03-24 23:27:05,668 alarm.py 84 INFO alarm delete start....... 2018-03-24 23:27:06,429 alarm.py 93 INFO alarm delete end....... 2018-03-24 23:27:06,430 instance.py 76 INFO instance delete start....... 2018-03-24 23:27:13,291 instance.py 89 INFO instance delete end....... 2018-03-24 23:27:13,292 network.py 61 INFO subnet delete start....... 2018-03-24 23:27:14,185 network.py 64 INFO subnet delete end....... 2018-03-24 23:27:14,185 network.py 66 INFO network delete start....... 2018-03-24 23:27:15,484 network.py 69 INFO network delete end....... 2018-03-24 23:27:15,485 network_failure.py 45 INFO fault inject cleanup...... 2018-03-24 23:27:15,485 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-24 23:27:15,485 apex.py 127 INFO restore apply patches start...... 2018-03-24 23:27:18,635 image.py 71 INFO image delete start....... 2018-03-24 23:27:23,136 image.py 76 INFO image delete end....... 2018-03-24 23:27:23,136 user.py 156 INFO user delete start...... 2018-03-24 23:27:24,755 user.py 178 INFO user delete end...... Total time cost: 385269(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |384715 |262 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:384715| | | | | | | | found affected:? | | | | | | | set VM error:385133| | | | | | marked host down:384977| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:385269 2018-03-24 23:27:24,913 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-25 00:14:49,010 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'