/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.129: b'1714f3bdf9ee8fd6b51e3431b6e43693' key.get_fingerprint()))) 2018-03-29 16:57:00,854 main.py 106 INFO doctor test starting....... 2018-03-29 16:57:00,855 apex.py 38 INFO Setup Apex installer start...... 2018-03-29 16:57:00,855 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 16:57:01,208 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-29 16:57:05,386 apex.py 80 INFO Get controller_ips:['192.30.9.5'] from Apex installer 2018-03-29 16:57:06,639 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.5: b'25e30e787cd99fab6f9a3cc55a131ec2' key.get_fingerprint()))) 2018-03-29 16:57:10,786 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-29 16:57:10,792 image.py 48 INFO image create start...... 2018-03-29 16:57:18,724 image.py 68 INFO image create end...... 2018-03-29 16:57:18,725 user.py 69 INFO user create start...... 2018-03-29 16:57:18,811 user.py 85 INFO create project...... 2018-03-29 16:57:18,952 user.py 95 INFO test project 2018-03-29 16:57:19,065 user.py 103 INFO create user...... 2018-03-29 16:57:19,419 user.py 113 INFO test user 2018-03-29 16:57:19,489 user.py 127 INFO role _member_ already created...... 2018-03-29 16:57:19,490 user.py 128 INFO test role 2018-03-29 16:57:20,576 user.py 77 INFO user create end...... 2018-03-29 16:57:20,577 main.py 53 INFO doctor fault management test starting....... 2018-03-29 16:57:20,933 fault_management.py 65 INFO fault management setup...... 2018-03-29 16:57:20,934 user.py 181 INFO user quota update start...... 2018-03-29 16:57:21,841 user.py 197 INFO user quota update end...... 2018-03-29 16:57:21,841 network.py 41 INFO network create start....... 2018-03-29 16:57:22,735 network.py 47 INFO network create end....... 2018-03-29 16:57:22,736 network.py 49 INFO subnet create start....... 2018-03-29 16:57:23,223 network.py 58 INFO subnet create end....... 2018-03-29 16:57:23,224 instance.py 51 INFO instance create start...... 2018-03-29 16:57:26,605 instance.py 73 INFO instance create end...... 2018-03-29 16:57:26,605 instance.py 92 INFO wait for vm launch start...... 2018-03-29 16:57:36,566 instance.py 110 INFO wait for vm launch end...... 2018-03-29 16:57:36,566 alarm.py 45 INFO alarm create start...... 2018-03-29 16:57:38,737 alarm.py 81 INFO alarm create end...... 2018-03-29 16:57:38,737 sample.py 72 INFO sample inspector start...... 2018-03-29 16:57:39,679 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 16:57:40,653 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-29 16:57:44,766 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 16:57:44,767 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 16:57:44,767 sample.py 30 INFO sample monitor start...... 2018-03-29 16:57:44,768 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-29 16:59:44,869 fault_management.py 89 INFO fault management start...... 2018-03-29 16:59:44,870 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 16:59:44,870 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'8a3c8b9040a196e7c9dd752b3a640f5f' key.get_fingerprint()))) 2018-03-29 16:59:44,941 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-29 16:59:45,120 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-29 16:59:45,171 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-29 16:59:45,172 fault_management.py 91 INFO fault management end...... 2018-03-29 16:59:46,340 sample.py 98 INFO doctor monitor detected at 1522342786.3403919 2018-03-29 16:59:46,340 sample.py 41 INFO sample monitor report error...... 2018-03-29 16:59:46,349 sample.py 168 INFO event posted in sample inspector at 1522342786.34906 2018-03-29 16:59:46,349 sample.py 169 INFO sample inspector = 2018-03-29 16:59:46,349 sample.py 171 INFO sample inspector received data = b'[{"time": "2018-03-29T16:59:46.340943", "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 16:59:46,407 sample.py 115 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1522342786.4074492 2018-03-29 16:59:46,504 sample.py 126 INFO doctor mark vm() error at 1522342786.5046782 127.0.0.1 - - [29/Mar/2018 16:59:46] "PUT /events HTTP/1.1" 200 - 2018-03-29 16:59:46,507 sample.py 101 INFO ping timeout, quit monitoring... 2018-03-29 16:59:46,628 sample.py 58 INFO doctor consumer notified at 1522342786.6287124 2018-03-29 16:59:46,629 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'b52ca27e-da57-4354-8517-16763491441f', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '7e9e8bb6-3728-4509-b483-b54d6e75eada'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 82], ['user_id', 1, 'd930f084d27e4f1eb01d38b444dcde41'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'fe1d8a66a9ff44b384c3a4f6f5f42368'], ['launched_at', 4, '2018-03-29T16:51:06'], ['disk_gb', 2, 1], ['instance_id', 1, '7e9e8bb6-3728-4509-b483-b54d6e75eada'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'fe1d8a66a9ff44b384c3a4f6f5f42368'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-9453f84b-9e32-467d-8bb9-5ecff1da0cf4']], 'message_signature': '58db1a33d25d6c6511d9234c75cc12a617537ed6db49995755fdcff0fee399fb', 'raw': {}, 'generated': '2018-03-29T16:59:46.493528', 'message_id': '6b8606bd-22a1-4933-9df8-398769192e62'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [29/Mar/2018 16:59:46] "POST /failure HTTP/1.1" 200 - 2018-03-29 16:59:55,237 fault_management.py 185 INFO doctor fault management test successfully,notification_time=0.28832054138183594 2018-03-29 16:59:55,237 fault_management.py 191 INFO run doctor fault management profile....... 2018-03-29 16:59:55,238 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-29 16:59:55,238 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-29 16:59:56,308 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-29 16:59:56,475 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 16:59:56,477 profiler_poc.py 97 INFO Total time cost: 388848(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |388559 |68 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:388559| | | | | | | | found affected:? | | | | | | | set VM error:388724| | | | | | marked host down:388627| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:388848 2018-03-29 16:59:56,477 fault_management.py 94 INFO fault management cleanup...... 2018-03-29 16:59:56,478 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2018-03-29 16:59:58,601 sample.py 78 INFO sample inspector stop...... 2018-03-29 16:59:58,640 sample.py 178 INFO shutdown inspector app server at 1522342798.6401947 127.0.0.1 - - [29/Mar/2018 16:59:58] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-29 16:59:58,642 sample.py 35 INFO sample monitor stop...... 2018-03-29 16:59:58,643 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-29 16:59:58,643 sample.py 31 INFO sample consumer stop...... 2018-03-29 16:59:58,647 sample.py 66 INFO shutdown consumer app server at 1522342798.647698 127.0.0.1 - - [29/Mar/2018 16:59:58] "POST /shutdown HTTP/1.1" 200 - 2018-03-29 16:59:58,650 alarm.py 84 INFO alarm delete start....... 2018-03-29 16:59:58,705 alarm.py 93 INFO alarm delete end....... 2018-03-29 16:59:58,705 instance.py 76 INFO instance delete start....... 2018-03-29 17:00:02,523 instance.py 89 INFO instance delete end....... 2018-03-29 17:00:02,523 network.py 61 INFO subnet delete start....... 2018-03-29 17:00:03,536 network.py 64 INFO subnet delete end....... 2018-03-29 17:00:03,537 network.py 66 INFO network delete start....... 2018-03-29 17:00:04,126 network.py 69 INFO network delete end....... 2018-03-29 17:00:04,127 apex.py 127 INFO restore apply patches start...... 2018-03-29 17:00:05,298 image.py 71 INFO image delete start....... 2018-03-29 17:00:07,876 image.py 76 INFO image delete end....... 2018-03-29 17:00:07,877 user.py 156 INFO user delete start...... 2018-03-29 17:00:08,560 user.py 178 INFO user delete end...... Total time cost: 388848(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |388559 |68 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:388559| | | | | | | | found affected:? | | | | | | | set VM error:388724| | | | | | marked host down:388627| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:388848 2018-03-29 17:00:08,703 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-29 17:40:51,830 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'