/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.131: b'cd455906d93c87338a51c9efc40dbc9d' key.get_fingerprint()))) 2018-03-11 13:18:39,345 main.py 160 INFO doctor test starting....... 2018-03-11 13:18:39,345 apex.py 38 INFO Setup Apex installer start...... 2018-03-11 13:18:39,346 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-11 13:18:39,416 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-11 13:18:43,852 apex.py 80 INFO Get controller_ips:['192.30.9.9', '192.30.9.6', '192.30.9.7'] from Apex installer 2018-03-11 13:18:44,502 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'a64f197061bf8493a6e0fc15c0f23644' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.6: b'6dae784c28c46a0f9e3cf2bf8d1766bd' 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'0f8f176f82648a44f77326c3033e9986' key.get_fingerprint()))) 2018-03-11 13:19:13,857 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-11 13:19:13,873 image.py 48 INFO image create start...... 2018-03-11 13:19:20,045 image.py 68 INFO image create end...... 2018-03-11 13:19:20,045 user.py 69 INFO user create start...... 2018-03-11 13:19:20,219 user.py 85 INFO create project...... 2018-03-11 13:19:20,342 user.py 95 INFO test project 2018-03-11 13:19:20,393 user.py 103 INFO create user...... 2018-03-11 13:19:20,743 user.py 113 INFO test user 2018-03-11 13:19:20,828 user.py 127 INFO role _member_ already created...... 2018-03-11 13:19:20,828 user.py 128 INFO test role 2018-03-11 13:19:21,459 user.py 77 INFO user create end...... 2018-03-11 13:19:21,460 main.py 96 INFO doctor fault management test starting....... 2018-03-11 13:19:21,460 user.py 181 INFO user quota update start...... 2018-03-11 13:19:22,192 user.py 197 INFO user quota update end...... 2018-03-11 13:19:22,192 network.py 41 INFO network create start....... 2018-03-11 13:19:23,626 network.py 47 INFO network create end....... 2018-03-11 13:19:23,626 network.py 49 INFO subnet create start....... 2018-03-11 13:19:24,512 network.py 58 INFO subnet create end....... 2018-03-11 13:19:24,513 instance.py 51 INFO instance create start...... 2018-03-11 13:19:28,405 instance.py 73 INFO instance create end...... 2018-03-11 13:19:28,405 instance.py 92 INFO wait for vm launch start...... 2018-03-11 13:19:38,602 instance.py 110 INFO wait for vm launch end...... 2018-03-11 13:19:38,603 alarm.py 45 INFO alarm create start...... 2018-03-11 13:19:41,571 alarm.py 81 INFO alarm create end...... 2018-03-11 13:19:41,572 sample.py 72 INFO sample inspector start...... 2018-03-11 13:19:43,291 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-11 13:19:44,672 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-11 13:19:48,738 apex.py 95 INFO Get host_ip:['192.30.9.8'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-11 13:19:48,739 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.8) which vm(doctor_vm0) launched at 2018-03-11 13:19:48,740 sample.py 30 INFO sample monitor start...... 2018-03-11 13:19:48,740 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-03-11 13:21:48,799 network_failure.py 39 INFO fault inject start...... 2018-03-11 13:21:48,802 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-11 13:21:48,802 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.8: b'dfc4f87cc8a80151b4004b895d017b14' key.get_fingerprint()))) 2018-03-11 13:21:48,875 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-11 13:21:49,054 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-11 13:21:49,104 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-11 13:21:49,106 network_failure.py 42 INFO fault inject end...... 2018-03-11 13:21:50,319 sample.py 97 INFO doctor monitor detected at 1520774510.3191202 2018-03-11 13:21:50,319 sample.py 41 INFO sample monitor report error...... 2018-03-11 13:21:50,328 sample.py 163 INFO event posted in sample inspector at 1520774510.3280091 2018-03-11 13:21:50,328 sample.py 164 INFO sample inspector = 2018-03-11 13:21:50,329 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-11T13:21:50.319704", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-11 13:21:50,399 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520774510.3996084 2018-03-11 13:21:50,490 sample.py 121 INFO doctor mark vm() error at 1520774510.4903257 127.0.0.1 - - [11/Mar/2018 13:21:50] "PUT /events HTTP/1.1" 200 - 2018-03-11 13:21:50,493 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-11 13:21:50,588 sample.py 57 INFO doctor consumer notified at 1520774510.5886261 2018-03-11 13:21:50,589 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'd7ac1689-c5f3-4595-94a3-dec04b1fefe0', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '7ece47f9-aa2d-48dc-adfc-1c111b3cb253'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 185], ['user_id', 1, '287033ef82af4b48b8f0eec0997cb707'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'c03e5769e6d0492a8652847e3806fa0b'], ['launched_at', 4, '2018-03-11T13:13:39'], ['disk_gb', 2, 1], ['instance_id', 1, '7ece47f9-aa2d-48dc-adfc-1c111b3cb253'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'c03e5769e6d0492a8652847e3806fa0b'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-40e2155f-22be-4309-9995-6b12f94610b5']], 'message_signature': 'c56c0b7f280e72ef9ee2d9ee082afa454df526ac25efc8f03ddec5ed56db03ec', 'raw': {}, 'generated': '2018-03-11T13:21:50.466827', 'message_id': '4bc8ed92-9af8-44c2-80bf-0d3e1c7b91be'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [11/Mar/2018 13:21:50] "POST /failure HTTP/1.1" 200 - 2018-03-11 13:21:59,170 main.py 120 INFO doctor fault management test successfully, notification_time=0.26950597763061523 2018-03-11 13:21:59,170 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-11 13:21:59,170 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-11 13:21:59,171 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-11 13:22:00,249 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-11 13:22:00,404 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.8) 2018-03-11 13:22:00,405 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-11 13:22:00,416 profiler_poc.py 97 INFO Total time cost: 355224(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |354954 |81 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:354954| | | | | | | | found affected:? | | | | | | | set VM error:355126| | | | | | marked host down:355035| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:355224 2018-03-11 13:22:02,526 sample.py 78 INFO sample inspector stop...... 2018-03-11 13:22:02,567 sample.py 173 INFO shutdown inspector app server at 1520774522.5676165 127.0.0.1 - - [11/Mar/2018 13:22:02] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-11 13:22:02,570 sample.py 35 INFO sample monitor stop...... 2018-03-11 13:22:02,570 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-03-11 13:22:02,570 sample.py 31 INFO sample consumer stop...... 2018-03-11 13:22:02,575 sample.py 64 INFO shutdown consumer app server at 1520774522.5754879 127.0.0.1 - - [11/Mar/2018 13:22:02] "POST /shutdown HTTP/1.1" 200 - 2018-03-11 13:22:02,578 alarm.py 84 INFO alarm delete start....... 2018-03-11 13:22:03,241 alarm.py 93 INFO alarm delete end....... 2018-03-11 13:22:03,241 instance.py 76 INFO instance delete start....... 2018-03-11 13:22:05,961 instance.py 89 INFO instance delete end....... 2018-03-11 13:22:05,961 network.py 61 INFO subnet delete start....... 2018-03-11 13:22:06,789 network.py 64 INFO subnet delete end....... 2018-03-11 13:22:06,789 network.py 66 INFO network delete start....... 2018-03-11 13:22:08,164 network.py 69 INFO network delete end....... 2018-03-11 13:22:08,165 network_failure.py 45 INFO fault inject cleanup...... 2018-03-11 13:22:08,165 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-11 13:22:08,165 apex.py 127 INFO restore apply patches start...... 2018-03-11 13:22:11,310 image.py 71 INFO image delete start....... 2018-03-11 13:22:13,252 image.py 76 INFO image delete end....... 2018-03-11 13:22:13,253 user.py 156 INFO user delete start...... 2018-03-11 13:22:13,853 user.py 178 INFO user delete end...... Total time cost: 355224(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |354954 |81 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:354954| | | | | | | | found affected:? | | | | | | | set VM error:355126| | | | | | marked host down:355035| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:355224 2018-03-11 13:22:14,005 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'