/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.104: b'0aad1c6155fc655ea8033e50a6223840' key.get_fingerprint()))) 2018-03-29 00:07:45,602 main.py 106 INFO doctor test starting....... 2018-03-29 00:07:45,603 apex.py 38 INFO Setup Apex installer start...... 2018-03-29 00:07:45,603 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 00:07:45,916 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-29 00:07:50,438 apex.py 80 INFO Get controller_ips:['192.30.9.10', '192.30.9.4', '192.30.9.5'] from Apex installer 2018-03-29 00:07:51,069 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.10: b'4b1bcc78b1a30870a8e67b7d496a1f2a' 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'a9a3123f5c65f1298d27358ac45e454e' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.5: b'4930572bd3aa81fc8b7e81dcb0ca97db' key.get_fingerprint()))) 2018-03-29 00:08:15,640 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-29 00:08:15,653 image.py 48 INFO image create start...... 2018-03-29 00:08:23,973 image.py 68 INFO image create end...... 2018-03-29 00:08:23,974 user.py 69 INFO user create start...... 2018-03-29 00:08:24,076 user.py 85 INFO create project...... 2018-03-29 00:08:24,182 user.py 95 INFO test project 2018-03-29 00:08:24,298 user.py 103 INFO create user...... 2018-03-29 00:08:24,649 user.py 113 INFO test user 2018-03-29 00:08:24,734 user.py 127 INFO role _member_ already created...... 2018-03-29 00:08:24,734 user.py 128 INFO test role 2018-03-29 00:08:25,263 user.py 77 INFO user create end...... 2018-03-29 00:08:25,264 main.py 53 INFO doctor fault management test starting....... 2018-03-29 00:08:25,959 fault_management.py 65 INFO fault management setup...... 2018-03-29 00:08:25,960 user.py 181 INFO user quota update start...... 2018-03-29 00:08:26,703 user.py 197 INFO user quota update end...... 2018-03-29 00:08:26,704 network.py 41 INFO network create start....... 2018-03-29 00:08:27,844 network.py 47 INFO network create end....... 2018-03-29 00:08:27,844 network.py 49 INFO subnet create start....... 2018-03-29 00:08:28,874 network.py 58 INFO subnet create end....... 2018-03-29 00:08:28,874 instance.py 51 INFO instance create start...... 2018-03-29 00:08:32,153 instance.py 73 INFO instance create end...... 2018-03-29 00:08:32,153 instance.py 92 INFO wait for vm launch start...... 2018-03-29 00:08:42,009 instance.py 110 INFO wait for vm launch end...... 2018-03-29 00:08:42,010 alarm.py 45 INFO alarm create start...... 2018-03-29 00:08:44,594 alarm.py 81 INFO alarm create end...... 2018-03-29 00:08:44,595 sample.py 72 INFO sample inspector start...... 2018-03-29 00:08:45,915 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-29 00:08:47,237 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-29 00:08:50,788 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-29 00:08:50,788 fault_management.py 118 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-29 00:08:50,789 sample.py 30 INFO sample monitor start...... 2018-03-29 00:08:50,790 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-29 00:10:50,831 fault_management.py 89 INFO fault management start...... 2018-03-29 00:10:50,833 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 00:10:50,833 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.6: b'2d752f4285ae6e7d2296724a8c91bfd2' key.get_fingerprint()))) 2018-03-29 00:10:50,903 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-29 00:10:51,070 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-29 00:10:51,120 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-29 00:10:51,122 fault_management.py 91 INFO fault management end...... 2018-03-29 00:10:52,259 sample.py 98 INFO doctor monitor detected at 1522282252.2597456 2018-03-29 00:10:52,260 sample.py 41 INFO sample monitor report error...... 2018-03-29 00:10:52,267 sample.py 168 INFO event posted in sample inspector at 1522282252.2678077 2018-03-29 00:10:52,268 sample.py 169 INFO sample inspector = 2018-03-29 00:10:52,268 sample.py 171 INFO sample inspector received data = b'[{"time": "2018-03-29T00:10:52.260270", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-29 00:10:52,334 sample.py 115 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1522282252.3343203 2018-03-29 00:10:52,421 sample.py 126 INFO doctor mark vm() error at 1522282252.4212127 127.0.0.1 - - [29/Mar/2018 00:10:52] "PUT /events HTTP/1.1" 200 - 2018-03-29 00:10:52,423 sample.py 101 INFO ping timeout, quit monitoring... 2018-03-29 00:10:52,521 sample.py 58 INFO doctor consumer notified at 1522282252.520971 2018-03-29 00:10:52,521 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '93f64574-254f-4052-bb9b-8c9bd82bc942', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'a85345eb-9f3f-45f1-8c09-cff54de44265'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 215], ['user_id', 1, '8d334bf22e644792b9a49f247523a684'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '738a8ac9e22e498bae0834833caa4da1'], ['launched_at', 4, '2018-03-29T00:02:09'], ['disk_gb', 2, 1], ['instance_id', 1, 'a85345eb-9f3f-45f1-8c09-cff54de44265'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '738a8ac9e22e498bae0834833caa4da1'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-3ed71214-3ad5-407d-bd36-ce702201a7e4']], 'message_signature': '35a36c1ce1297d66bcf84324321652bf4ed0b41fddc8cceaca2724dc0dbf0eba', 'raw': {}, 'generated': '2018-03-29T00:10:52.401688', 'message_id': '39f51505-e9ff-4b45-836e-1c3ac639bdf6'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [29/Mar/2018 00:10:52] "POST /failure HTTP/1.1" 200 - 2018-03-29 00:11:01,183 fault_management.py 185 INFO doctor fault management test successfully,notification_time=0.26122546195983887 2018-03-29 00:11:01,183 fault_management.py 191 INFO run doctor fault management profile....... 2018-03-29 00:11:01,184 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 00:11:01,184 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-29 00:11:02,253 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-29 00:11:02,418 fault_management.py 155 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.6) 2018-03-29 00:11:02,421 profiler_poc.py 97 INFO Total time cost: 388024(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |387762 |75 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:387762| | | | | | | | found affected:? | | | | | | | set VM error:387924| | | | | | marked host down:387837| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:388024 2018-03-29 00:11:02,421 fault_management.py 94 INFO fault management cleanup...... 2018-03-29 00:11:02,421 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2018-03-29 00:11:04,533 sample.py 78 INFO sample inspector stop...... 2018-03-29 00:11:04,571 sample.py 178 INFO shutdown inspector app server at 1522282264.5718641 127.0.0.1 - - [29/Mar/2018 00:11:04] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-29 00:11:04,574 sample.py 35 INFO sample monitor stop...... 2018-03-29 00:11:04,574 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-29 00:11:04,575 sample.py 31 INFO sample consumer stop...... 2018-03-29 00:11:04,579 sample.py 66 INFO shutdown consumer app server at 1522282264.5796893 127.0.0.1 - - [29/Mar/2018 00:11:04] "POST /shutdown HTTP/1.1" 200 - 2018-03-29 00:11:04,582 alarm.py 84 INFO alarm delete start....... 2018-03-29 00:11:05,306 alarm.py 93 INFO alarm delete end....... 2018-03-29 00:11:05,306 instance.py 76 INFO instance delete start....... 2018-03-29 00:12:39,330 instance.py 89 INFO instance delete end....... 2018-03-29 00:12:39,331 network.py 61 INFO subnet delete start....... 2018-03-29 00:12:40,079 network.py 64 INFO subnet delete end....... 2018-03-29 00:12:40,080 network.py 66 INFO network delete start....... 2018-03-29 00:12:40,957 network.py 69 INFO network delete end....... 2018-03-29 00:12:40,957 apex.py 127 INFO restore apply patches start...... 2018-03-29 00:12:44,130 image.py 71 INFO image delete start....... 2018-03-29 00:12:45,591 image.py 76 INFO image delete end....... 2018-03-29 00:12:45,591 user.py 156 INFO user delete start...... 2018-03-29 00:12:46,225 user.py 178 INFO user delete end...... Total time cost: 388024(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |387762 |75 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:387762| | | | | | | | found affected:? | | | | | | | set VM error:387924| | | | | | marked host down:387837| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:388024 2018-03-29 00:12:46,381 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-29 00:33:34,837 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'