/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.64: b'be7060cc58d4085b1fd262ea544ed09b' key.get_fingerprint()))) 2018-03-04 09:42:32,695 main.py 161 INFO doctor test starting....... 2018-03-04 09:42:32,695 apex.py 38 INFO Setup Apex installer start...... 2018-03-04 09:42:32,695 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 09:42:32,747 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-04 09:42:36,911 apex.py 80 INFO Get controller_ips:['192.30.9.9', '192.30.9.7', '192.30.9.8'] from Apex installer 2018-03-04 09:42:37,537 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.9: b'5b79b843d9303c6a6efd11b3e817cbab' 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'c1651f9d20078b0e7d82374ee94d4875' 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'8c03537c4b055a1e9d1f97a638f05d31' key.get_fingerprint()))) 2018-03-04 09:42:57,114 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-04 09:42:57,129 image.py 48 INFO image create start...... 2018-03-04 09:43:06,152 image.py 68 INFO image create end...... 2018-03-04 09:43:06,152 user.py 69 INFO user create start...... 2018-03-04 09:43:06,179 user.py 85 INFO create project...... 2018-03-04 09:43:06,369 user.py 95 INFO test project 2018-03-04 09:43:06,471 user.py 103 INFO create user...... 2018-03-04 09:43:07,802 user.py 113 INFO test user 2018-03-04 09:43:07,885 user.py 127 INFO role _member_ already created...... 2018-03-04 09:43:07,886 user.py 128 INFO test role 2018-03-04 09:43:08,617 user.py 77 INFO user create end...... 2018-03-04 09:43:08,618 main.py 97 INFO doctor fault management test starting....... 2018-03-04 09:43:08,618 user.py 181 INFO user quota update start...... 2018-03-04 09:43:09,325 user.py 197 INFO user quota update end...... 2018-03-04 09:43:09,326 network.py 41 INFO network create start....... 2018-03-04 09:43:10,608 network.py 47 INFO network create end....... 2018-03-04 09:43:10,608 network.py 49 INFO subnet create start....... 2018-03-04 09:43:11,393 network.py 58 INFO subnet create end....... 2018-03-04 09:43:11,393 instance.py 51 INFO instance create start...... 2018-03-04 09:43:15,400 instance.py 73 INFO instance create end...... 2018-03-04 09:43:15,400 instance.py 92 INFO wait for vm launch start...... 2018-03-04 09:43:29,858 instance.py 110 INFO wait for vm launch end...... 2018-03-04 09:43:29,858 alarm.py 45 INFO alarm create start...... 2018-03-04 09:43:32,318 alarm.py 81 INFO alarm create end...... 2018-03-04 09:43:32,318 sample.py 72 INFO sample inspector start...... 2018-03-04 09:43:33,634 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-04 09:43:35,112 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-04 09:43:39,239 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-04 09:43:39,240 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.10) which vm(doctor_vm0) launched at 2018-03-04 09:43:39,240 sample.py 30 INFO sample monitor start...... 2018-03-04 09:43:39,241 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-04 09:45:39,267 network_failure.py 39 INFO fault inject start...... 2018-03-04 09:45:39,268 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 09:45:39,268 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'1ab2b8215081412faf9d76a593144a60' key.get_fingerprint()))) 2018-03-04 09:45:39,341 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-04 09:45:39,556 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-04 09:45:39,606 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-04 09:45:39,607 network_failure.py 42 INFO fault inject end...... 2018-03-04 09:45:40,777 sample.py 97 INFO doctor monitor detected at 1520156740.7776477 2018-03-04 09:45:40,777 sample.py 41 INFO sample monitor report error...... 2018-03-04 09:45:40,786 sample.py 163 INFO event posted in sample inspector at 1520156740.7866516 2018-03-04 09:45:40,786 sample.py 164 INFO sample inspector = 2018-03-04 09:45:40,787 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-04T09:45:40.778161", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-04 09:45:40,884 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520156740.88431 2018-03-04 09:45:40,997 sample.py 121 INFO doctor mark vm() error at 1520156740.9972992 127.0.0.1 - - [04/Mar/2018 09:45:40] "PUT /events HTTP/1.1" 200 - 2018-03-04 09:45:41,000 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-04 09:45:41,148 sample.py 57 INFO doctor consumer notified at 1520156741.1486878 2018-03-04 09:45:41,149 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '8a264536-c1ba-48a3-83be-4df5e135a699', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '3076b5ec-925b-4d0d-8916-98794eead8f7'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 196], ['user_id', 1, '358226624d9d4d58a2ed2f0fdcdc560f'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'bfc9652e470341ae8dd7f550759bc22c'], ['launched_at', 4, '2018-03-04T09:37:23'], ['disk_gb', 2, 1], ['instance_id', 1, '3076b5ec-925b-4d0d-8916-98794eead8f7'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'bfc9652e470341ae8dd7f550759bc22c'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-3b9bf6d0-65ef-408d-8b98-c5953ebc925c']], 'message_signature': '1bfc51243568b133f522366e793ab89a51f83f55108c6113bb1f479113175636', 'raw': {}, 'generated': '2018-03-04T09:45:40.981314', 'message_id': '97cebae5-5780-44e1-9b3e-f7f7a01c0d33'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [04/Mar/2018 09:45:41] "POST /failure HTTP/1.1" 200 - 2018-03-04 09:45:49,668 main.py 121 INFO doctor fault management test successfully, notification_time=0.37104010581970215 2018-03-04 09:45:49,669 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-04 09:45:49,669 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 09:45:49,669 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-04 09:45:50,738 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-04 09:45:50,904 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-04 09:45:50,905 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-04 09:45:50,913 profiler_poc.py 97 INFO Total time cost: 361801(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |361430 |107 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:361430| | | | | | | | found affected:? | | | | | | | set VM error:361650| | | | | | marked host down:361537| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:361801 2018-03-04 09:45:53,099 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [04/Mar/2018 09:45:53] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-04 09:45:53,141 sample.py 35 INFO sample monitor stop...... 2018-03-04 09:45:53,141 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-04 09:45:53,141 sample.py 31 INFO sample consumer stop...... 2018-03-04 09:45:53,145 sample.py 64 INFO shutdown consumer app server at 1520156753.1457546 127.0.0.1 - - [04/Mar/2018 09:45:53] "POST /shutdown HTTP/1.1" 200 - 2018-03-04 09:45:53,148 alarm.py 84 INFO alarm delete start....... 2018-03-04 09:45:53,783 alarm.py 93 INFO alarm delete end....... 2018-03-04 09:45:53,784 instance.py 76 INFO instance delete start....... 2018-03-04 09:46:56,069 instance.py 89 INFO instance delete end....... 2018-03-04 09:46:56,070 network.py 61 INFO subnet delete start....... 2018-03-04 09:46:56,824 network.py 64 INFO subnet delete end....... 2018-03-04 09:46:56,825 network.py 66 INFO network delete start....... 2018-03-04 09:46:57,751 network.py 69 INFO network delete end....... 2018-03-04 09:46:57,752 network_failure.py 45 INFO fault inject cleanup...... 2018-03-04 09:46:57,752 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-04 09:46:57,752 apex.py 127 INFO restore apply patches start...... 2018-03-04 09:47:00,927 image.py 71 INFO image delete start....... 2018-03-04 09:47:04,762 image.py 76 INFO image delete end....... 2018-03-04 09:47:04,762 user.py 156 INFO user delete start...... 2018-03-04 09:47:05,600 user.py 178 INFO user delete end...... 2018-03-04 09:47:05,611 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-04 09:47:05,611 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'