/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.109: b'508798bc862d4270c1f74fb792986653' key.get_fingerprint()))) 2018-03-29 10:43:23,010 main.py 106 INFO doctor test starting....... 2018-03-29 10:43:23,011 apex.py 38 INFO Setup Apex installer start...... 2018-03-29 10:43:23,011 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 10:43:23,343 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-29 10:43:27,584 apex.py 80 INFO Get controller_ips:['192.30.9.4', '192.30.9.7', '192.30.9.6'] from Apex installer 2018-03-29 10:43:28,941 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'1816f0f59fb84e0b7cb0aab1240fb06f' 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'6a82bd701d6d31d2afe5e1b7c94e9d7a' 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'4cf5870280639cba3253f5e6bf7fd6b6' key.get_fingerprint()))) 2018-03-29 10:43:47,371 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-29 10:43:47,385 image.py 48 INFO image create start...... 2018-03-29 10:43:59,361 image.py 68 INFO image create end...... 2018-03-29 10:43:59,362 user.py 69 INFO user create start...... 2018-03-29 10:43:59,456 user.py 85 INFO create project...... 2018-03-29 10:43:59,579 user.py 95 INFO test project 2018-03-29 10:43:59,689 user.py 103 INFO create user...... 2018-03-29 10:44:00,035 user.py 113 INFO test user 2018-03-29 10:44:00,131 user.py 127 INFO role _member_ already created...... 2018-03-29 10:44:00,131 user.py 128 INFO test role 2018-03-29 10:44:00,788 user.py 77 INFO user create end...... 2018-03-29 10:44:00,789 main.py 53 INFO doctor fault management test starting....... 2018-03-29 10:44:01,151 fault_management.py 65 INFO fault management setup...... 2018-03-29 10:44:01,152 user.py 181 INFO user quota update start...... 2018-03-29 10:44:01,876 user.py 197 INFO user quota update end...... 2018-03-29 10:44:01,876 network.py 41 INFO network create start....... 2018-03-29 10:44:03,470 network.py 47 INFO network create end....... 2018-03-29 10:44:03,470 network.py 49 INFO subnet create start....... 2018-03-29 10:44:04,864 network.py 58 INFO subnet create end....... 2018-03-29 10:44:04,865 instance.py 51 INFO instance create start...... 2018-03-29 10:44:07,643 instance.py 73 INFO instance create end...... 2018-03-29 10:44:07,643 instance.py 92 INFO wait for vm launch start...... 2018-03-29 10:44:26,649 instance.py 110 INFO wait for vm launch end...... 2018-03-29 10:44:26,649 alarm.py 45 INFO alarm create start...... 2018-03-29 10:44:29,491 alarm.py 81 INFO alarm create end...... 2018-03-29 10:44:29,491 sample.py 72 INFO sample inspector start...... 2018-03-29 10:44:30,847 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 10:44:32,048 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-29 10:44:35,793 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-29 10:44:35,793 fault_management.py 118 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.10) which vm(doctor_vm0) launched at 2018-03-29 10:44:35,794 sample.py 30 INFO sample monitor start...... 2018-03-29 10:44:35,795 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-29 10:46:35,809 fault_management.py 89 INFO fault management start...... 2018-03-29 10:46:35,811 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 10:46:35,811 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'e94af01fa40b0ec0900a515cea30c612' key.get_fingerprint()))) 2018-03-29 10:46:35,882 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-29 10:46:36,052 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-29 10:46:36,103 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-29 10:46:36,104 fault_management.py 91 INFO fault management end...... 2018-03-29 10:46:37,257 sample.py 98 INFO doctor monitor detected at 1522320397.2576702 2018-03-29 10:46:37,258 sample.py 41 INFO sample monitor report error...... 2018-03-29 10:46:37,266 sample.py 168 INFO event posted in sample inspector at 1522320397.2662187 2018-03-29 10:46:37,266 sample.py 169 INFO sample inspector = 2018-03-29 10:46:37,266 sample.py 171 INFO sample inspector received data = b'[{"time": "2018-03-29T10:46:37.258203", "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 10:46:37,329 sample.py 115 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1522320397.3295317 2018-03-29 10:46:37,415 sample.py 126 INFO doctor mark vm() error at 1522320397.4149575 127.0.0.1 - - [29/Mar/2018 10:46:37] "PUT /events HTTP/1.1" 200 - 2018-03-29 10:46:37,417 sample.py 101 INFO ping timeout, quit monitoring... 2018-03-29 10:46:37,518 sample.py 58 INFO doctor consumer notified at 1522320397.5179648 2018-03-29 10:46:37,518 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'cd85b541-b67a-4409-a7d1-4242208742da', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '1f8ab9ee-f5e7-41aa-b936-d1a030b4b705'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 246], ['user_id', 1, '889b9e551c6c4225b856c9d950162149'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '13fe86dde75a4b7a9493fce74da27a18'], ['launched_at', 4, '2018-03-29T10:38:05'], ['disk_gb', 2, 1], ['instance_id', 1, '1f8ab9ee-f5e7-41aa-b936-d1a030b4b705'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '13fe86dde75a4b7a9493fce74da27a18'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-5fa791a1-8962-429a-ab81-4701c1a5e9e2']], 'message_signature': '904d0997f072ee5097e773b09c268a94be429d0c438c1bfb6285b9d8061ecf05', 'raw': {}, 'generated': '2018-03-29T10:46:37.398794', 'message_id': 'a5c09b49-1b81-4beb-ba95-f18f7d933a36'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [29/Mar/2018 10:46:37] "POST /failure HTTP/1.1" 200 - 2018-03-29 10:46:46,168 fault_management.py 185 INFO doctor fault management test successfully,notification_time=0.26029467582702637 2018-03-29 10:46:46,169 fault_management.py 191 INFO run doctor fault management profile....... 2018-03-29 10:46:46,169 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 10:46:46,169 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-29 10:46:47,237 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-29 10:46:47,396 fault_management.py 155 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.10) 2018-03-29 10:46:47,398 profiler_poc.py 97 INFO Total time cost: 376177(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |375917 |72 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:375917| | | | | | | | found affected:? | | | | | | | set VM error:376074| | | | | | marked host down:375989| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:376177 2018-03-29 10:46:47,399 fault_management.py 94 INFO fault management cleanup...... 2018-03-29 10:46:47,399 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2018-03-29 10:46:49,564 sample.py 78 INFO sample inspector stop...... 2018-03-29 10:46:49,606 sample.py 178 INFO shutdown inspector app server at 1522320409.6059468 127.0.0.1 - - [29/Mar/2018 10:46:49] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-29 10:46:49,609 sample.py 35 INFO sample monitor stop...... 2018-03-29 10:46:49,609 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-29 10:46:49,609 sample.py 31 INFO sample consumer stop...... 2018-03-29 10:46:49,615 sample.py 66 INFO shutdown consumer app server at 1522320409.615169 127.0.0.1 - - [29/Mar/2018 10:46:49] "POST /shutdown HTTP/1.1" 200 - 2018-03-29 10:46:49,617 alarm.py 84 INFO alarm delete start....... 2018-03-29 10:46:50,236 alarm.py 93 INFO alarm delete end....... 2018-03-29 10:46:50,236 instance.py 76 INFO instance delete start....... 2018-03-29 10:46:54,963 instance.py 89 INFO instance delete end....... 2018-03-29 10:46:54,963 network.py 61 INFO subnet delete start....... 2018-03-29 10:46:55,623 network.py 64 INFO subnet delete end....... 2018-03-29 10:46:55,623 network.py 66 INFO network delete start....... 2018-03-29 10:46:57,031 network.py 69 INFO network delete end....... 2018-03-29 10:46:57,031 apex.py 127 INFO restore apply patches start...... 2018-03-29 10:47:00,208 image.py 71 INFO image delete start....... 2018-03-29 10:47:05,599 image.py 76 INFO image delete end....... 2018-03-29 10:47:05,599 user.py 156 INFO user delete start...... 2018-03-29 10:47:06,289 user.py 178 INFO user delete end...... Total time cost: 376177(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |375917 |72 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:375917| | | | | | | | found affected:? | | | | | | | set VM error:376074| | | | | | marked host down:375989| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:376177 2018-03-29 10:47:06,432 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-29 11:34:55,196 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'