/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.18: b'61d066e0bf93d4dfa501720ccdc89c5b' key.get_fingerprint()))) 2018-03-27 11:40:08,706 main.py 160 INFO doctor test starting....... 2018-03-27 11:40:08,706 apex.py 38 INFO Setup Apex installer start...... 2018-03-27 11:40:08,706 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-27 11:40:08,757 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-27 11:40:12,972 apex.py 80 INFO Get controller_ips:['192.30.9.8'] from Apex installer 2018-03-27 11:40:13,981 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.8: b'2fe12c84eddd05cbe7f3457772a684ee' key.get_fingerprint()))) 2018-03-27 11:40:18,334 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-27 11:40:18,340 image.py 48 INFO image create start...... 2018-03-27 11:40:24,636 image.py 68 INFO image create end...... 2018-03-27 11:40:24,636 user.py 69 INFO user create start...... 2018-03-27 11:40:24,665 user.py 85 INFO create project...... 2018-03-27 11:40:24,723 user.py 95 INFO test project 2018-03-27 11:40:24,820 user.py 103 INFO create user...... 2018-03-27 11:40:25,205 user.py 113 INFO test user 2018-03-27 11:40:25,284 user.py 127 INFO role _member_ already created...... 2018-03-27 11:40:25,284 user.py 128 INFO test role 2018-03-27 11:40:25,897 user.py 77 INFO user create end...... 2018-03-27 11:40:25,898 main.py 96 INFO doctor fault management test starting....... 2018-03-27 11:40:25,898 user.py 181 INFO user quota update start...... 2018-03-27 11:40:26,578 user.py 197 INFO user quota update end...... 2018-03-27 11:40:26,578 network.py 41 INFO network create start....... 2018-03-27 11:40:27,526 network.py 47 INFO network create end....... 2018-03-27 11:40:27,526 network.py 49 INFO subnet create start....... 2018-03-27 11:40:28,259 network.py 58 INFO subnet create end....... 2018-03-27 11:40:28,259 instance.py 51 INFO instance create start...... 2018-03-27 11:40:30,141 instance.py 73 INFO instance create end...... 2018-03-27 11:40:30,141 instance.py 92 INFO wait for vm launch start...... 2018-03-27 11:40:39,387 instance.py 110 INFO wait for vm launch end...... 2018-03-27 11:40:39,387 alarm.py 45 INFO alarm create start...... 2018-03-27 11:40:41,620 alarm.py 81 INFO alarm create end...... 2018-03-27 11:40:41,621 sample.py 72 INFO sample inspector start...... 2018-03-27 11:40:42,736 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-27 11:40:43,729 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-27 11:40:47,808 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-27 11:40:47,808 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-27 11:40:47,809 sample.py 30 INFO sample monitor start...... 2018-03-27 11:40:47,810 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-27 11:42:47,910 network_failure.py 39 INFO fault inject start...... 2018-03-27 11:42:47,911 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-27 11:42:47,912 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'238baf739f10e7e758d9f755b176ae20' key.get_fingerprint()))) 2018-03-27 11:42:47,985 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-27 11:42:48,154 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-27 11:42:48,204 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-27 11:42:48,205 network_failure.py 42 INFO fault inject end...... 2018-03-27 11:42:49,363 sample.py 97 INFO doctor monitor detected at 1522150969.3633795 2018-03-27 11:42:49,363 sample.py 41 INFO sample monitor report error...... 2018-03-27 11:42:49,372 sample.py 163 INFO event posted in sample inspector at 1522150969.3721309 2018-03-27 11:42:49,372 sample.py 164 INFO sample inspector = 2018-03-27 11:42:49,373 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-27T11:42:49.363931", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-27 11:42:49,475 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1522150969.475016 2018-03-27 11:42:49,569 sample.py 121 INFO doctor mark vm() error at 1522150969.5693111 127.0.0.1 - - [27/Mar/2018 11:42:49] "PUT /events HTTP/1.1" 200 - 2018-03-27 11:42:49,572 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-27 11:42:49,667 sample.py 57 INFO doctor consumer notified at 1522150969.6675231 2018-03-27 11:42:49,668 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '3e4c41b2-ac89-42c2-974f-5df36bcabea0', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '56ca20a4-4cc8-4f37-a42c-cd417940d797'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 82], ['user_id', 1, '87fb8b9248fc4ca2ac81b426b9b68453'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'da532fe713c640c7b9b1c7fbb0c583ab'], ['launched_at', 4, '2018-03-27T11:34:23'], ['disk_gb', 2, 1], ['instance_id', 1, '56ca20a4-4cc8-4f37-a42c-cd417940d797'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'da532fe713c640c7b9b1c7fbb0c583ab'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-adc2d05d-6cc1-4a81-a4d5-28bb884be7f5']], 'message_signature': '251723d6f9b09085ccf0f028a940c2307f8331a7275096a792f8bf85f99ebd4c', 'raw': {}, 'generated': '2018-03-27T11:42:49.549030', 'message_id': '00c4c9da-3117-4ea8-b8c9-67df759f1c45'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [27/Mar/2018 11:42:49] "POST /failure HTTP/1.1" 200 - 2018-03-27 11:42:58,270 main.py 120 INFO doctor fault management test successfully, notification_time=0.30414366722106934 2018-03-27 11:42:58,271 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-27 11:42:58,271 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-27 11:42:58,271 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-27 11:42:59,342 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-27 11:42:59,509 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-27 11:42:59,509 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-27 11:42:59,520 profiler_poc.py 97 INFO Total time cost: 375363(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |375059 |112 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:375059| | | | | | | | found affected:? | | | | | | | set VM error:375265| | | | | | marked host down:375171| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:375363 2018-03-27 11:43:01,943 sample.py 78 INFO sample inspector stop...... 2018-03-27 11:43:01,981 sample.py 173 INFO shutdown inspector app server at 1522150981.9813507 127.0.0.1 - - [27/Mar/2018 11:43:01] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-27 11:43:01,984 sample.py 35 INFO sample monitor stop...... 2018-03-27 11:43:01,984 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-27 11:43:01,984 sample.py 31 INFO sample consumer stop...... 2018-03-27 11:43:01,988 sample.py 64 INFO shutdown consumer app server at 1522150981.9888294 127.0.0.1 - - [27/Mar/2018 11:43:01] "POST /shutdown HTTP/1.1" 200 - 2018-03-27 11:43:01,991 alarm.py 84 INFO alarm delete start....... 2018-03-27 11:43:02,047 alarm.py 93 INFO alarm delete end....... 2018-03-27 11:43:02,048 instance.py 76 INFO instance delete start....... 2018-03-27 11:44:33,811 instance.py 89 INFO instance delete end....... 2018-03-27 11:44:33,811 network.py 61 INFO subnet delete start....... 2018-03-27 11:44:34,384 network.py 64 INFO subnet delete end....... 2018-03-27 11:44:34,385 network.py 66 INFO network delete start....... 2018-03-27 11:44:36,159 network.py 69 INFO network delete end....... 2018-03-27 11:44:36,159 network_failure.py 45 INFO fault inject cleanup...... 2018-03-27 11:44:36,159 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-27 11:44:36,160 apex.py 127 INFO restore apply patches start...... 2018-03-27 11:44:37,352 image.py 71 INFO image delete start....... 2018-03-27 11:44:38,611 image.py 76 INFO image delete end....... 2018-03-27 11:44:38,612 user.py 156 INFO user delete start...... 2018-03-27 11:44:39,224 user.py 178 INFO user delete end...... Total time cost: 375363(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |375059 |112 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:375059| | | | | | | | found affected:? | | | | | | | set VM error:375265| | | | | | marked host down:375171| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:375363 2018-03-27 11:44:39,383 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-27 12:26:48,074 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'