/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.132: b'0671643a530418519c9a27b0815ea4d0' key.get_fingerprint()))) 2018-03-22 07:09:39,631 main.py 160 INFO doctor test starting....... 2018-03-22 07:09:39,632 apex.py 38 INFO Setup Apex installer start...... 2018-03-22 07:09:39,632 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-22 07:09:39,685 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-22 07:09:43,864 apex.py 80 INFO Get controller_ips:['192.30.9.4', '192.30.9.10', '192.30.9.6'] from Apex installer 2018-03-22 07:09:44,499 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.4: b'80979f5e720ee5e4f4f31f155e7f2152' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.10: b'1900f0a67570033b80da242a96af4803' 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'7974ccadcfbfaf3fe40d29b36a7d5f29' key.get_fingerprint()))) 2018-03-22 07:10:11,023 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-22 07:10:11,038 image.py 48 INFO image create start...... 2018-03-22 07:10:17,296 image.py 68 INFO image create end...... 2018-03-22 07:10:17,297 user.py 69 INFO user create start...... 2018-03-22 07:10:17,391 user.py 85 INFO create project...... 2018-03-22 07:10:17,511 user.py 95 INFO test project 2018-03-22 07:10:17,631 user.py 103 INFO create user...... 2018-03-22 07:10:18,031 user.py 113 INFO test user 2018-03-22 07:10:18,113 user.py 127 INFO role _member_ already created...... 2018-03-22 07:10:18,113 user.py 128 INFO test role 2018-03-22 07:10:18,704 user.py 77 INFO user create end...... 2018-03-22 07:10:18,704 main.py 96 INFO doctor fault management test starting....... 2018-03-22 07:10:18,704 user.py 181 INFO user quota update start...... 2018-03-22 07:10:19,433 user.py 197 INFO user quota update end...... 2018-03-22 07:10:19,433 network.py 41 INFO network create start....... 2018-03-22 07:10:20,789 network.py 47 INFO network create end....... 2018-03-22 07:10:20,789 network.py 49 INFO subnet create start....... 2018-03-22 07:10:21,891 network.py 58 INFO subnet create end....... 2018-03-22 07:10:21,891 instance.py 51 INFO instance create start...... 2018-03-22 07:10:25,379 instance.py 73 INFO instance create end...... 2018-03-22 07:10:25,379 instance.py 92 INFO wait for vm launch start...... 2018-03-22 07:10:35,499 instance.py 110 INFO wait for vm launch end...... 2018-03-22 07:10:35,499 alarm.py 45 INFO alarm create start...... 2018-03-22 07:10:38,082 alarm.py 81 INFO alarm create end...... 2018-03-22 07:10:38,082 sample.py 72 INFO sample inspector start...... 2018-03-22 07:10:39,444 sample.py 26 INFO sample consumer start...... * Running on http://0.0.0.0:12346/ (Press CTRL+C to quit) * Running on http://0.0.0.0:12345/ (Press CTRL+C to quit) 2018-03-22 07:10:40,880 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-22 07:10:45,132 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-0.opnfvlf.org in Apex installer 2018-03-22 07:10:45,133 main.py 193 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-03-22 07:10:45,134 sample.py 30 INFO sample monitor start...... 2018-03-22 07:10:45,134 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.7) 2018-03-22 07:12:45,183 network_failure.py 39 INFO fault inject start...... 2018-03-22 07:12:45,185 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-22 07:12:45,185 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'6662653525ac75dbe1b2b2da837885c6' key.get_fingerprint()))) 2018-03-22 07:12:45,259 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-22 07:12:45,443 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-22 07:12:45,495 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-22 07:12:45,496 network_failure.py 42 INFO fault inject end...... 2018-03-22 07:12:46,688 sample.py 97 INFO doctor monitor detected at 1521702766.688747 2018-03-22 07:12:46,689 sample.py 41 INFO sample monitor report error...... 2018-03-22 07:12:46,698 sample.py 163 INFO event posted in sample inspector at 1521702766.6980162 2018-03-22 07:12:46,698 sample.py 164 INFO sample inspector = 2018-03-22 07:12:46,698 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-22T07:12:46.689410", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-22 07:12:46,758 sample.py 112 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1521702766.758632 2018-03-22 07:12:46,851 sample.py 121 INFO doctor mark vm() error at 1521702766.851391 127.0.0.1 - - [22/Mar/2018 07:12:46] "PUT /events HTTP/1.1" 200 - 2018-03-22 07:12:46,854 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-22 07:12:46,958 sample.py 57 INFO doctor consumer notified at 1521702766.9582298 2018-03-22 07:12:46,958 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'f7c0f1f8-f02d-48ba-a32f-3f8383372b3a', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'ff956943-ffff-486c-9587-ef17493909ff'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 243], ['user_id', 1, 'd844f17eee874317a6fed9ea2417573d'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '47d644714702474e9c36998130eed3b4'], ['launched_at', 4, '2018-03-22T07:04:08'], ['disk_gb', 2, 1], ['instance_id', 1, 'ff956943-ffff-486c-9587-ef17493909ff'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '47d644714702474e9c36998130eed3b4'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-92b02821-629b-4782-8fdf-c780751389cc']], 'message_signature': 'f22d4dd04832cba501c7a3f5424bd4121bc8e45c694938a8d97e26304ecb340e', 'raw': {}, 'generated': '2018-03-22T07:12:46.829585', 'message_id': '4e99f0a7-edc9-44e4-b727-45b8a90db67e'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [22/Mar/2018 07:12:46] "POST /failure HTTP/1.1" 200 - 2018-03-22 07:12:55,565 main.py 120 INFO doctor fault management test successfully, notification_time=0.2694828510284424 2018-03-22 07:12:55,566 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-22 07:12:55,566 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-22 07:12:55,566 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-22 07:12:56,636 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-22 07:12:56,794 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.7) 2018-03-22 07:12:56,794 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-22 07:12:56,804 profiler_poc.py 97 INFO Total time cost: 382010(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |381741 |70 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:381741| | | | | | | | found affected:? | | | | | | | set VM error:381903| | | | | | marked host down:381811| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:382010 2018-03-22 07:12:58,916 sample.py 78 INFO sample inspector stop...... 2018-03-22 07:12:58,954 sample.py 173 INFO shutdown inspector app server at 1521702778.9542527 127.0.0.1 - - [22/Mar/2018 07:12:58] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-22 07:12:58,956 sample.py 35 INFO sample monitor stop...... 2018-03-22 07:12:58,957 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.7) 2018-03-22 07:12:58,957 sample.py 31 INFO sample consumer stop...... 2018-03-22 07:12:58,962 sample.py 64 INFO shutdown consumer app server at 1521702778.961987 127.0.0.1 - - [22/Mar/2018 07:12:58] "POST /shutdown HTTP/1.1" 200 - 2018-03-22 07:12:58,964 alarm.py 84 INFO alarm delete start....... 2018-03-22 07:12:59,689 alarm.py 93 INFO alarm delete end....... 2018-03-22 07:12:59,689 instance.py 76 INFO instance delete start....... 2018-03-22 07:14:02,769 instance.py 89 INFO instance delete end....... 2018-03-22 07:14:02,770 network.py 61 INFO subnet delete start....... 2018-03-22 07:14:03,378 network.py 64 INFO subnet delete end....... 2018-03-22 07:14:03,378 network.py 66 INFO network delete start....... 2018-03-22 07:14:04,028 network.py 69 INFO network delete end....... 2018-03-22 07:14:04,028 network_failure.py 45 INFO fault inject cleanup...... 2018-03-22 07:14:04,028 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-22 07:14:04,028 apex.py 127 INFO restore apply patches start...... 2018-03-22 07:14:07,183 image.py 71 INFO image delete start....... 2018-03-22 07:14:08,463 image.py 76 INFO image delete end....... 2018-03-22 07:14:08,463 user.py 156 INFO user delete start...... 2018-03-22 07:14:09,059 user.py 178 INFO user delete end...... Total time cost: 382010(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |381741 |70 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:381741| | | | | | | | found affected:? | | | | | | | set VM error:381903| | | | | | marked host down:381811| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:382010 2018-03-22 07:14:09,228 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-22 07:21:50,632 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'