/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.230: b'1aa0f690bf28f0b35d5d7901eda3c394' key.get_fingerprint()))) 2018-03-02 03:37:22,421 main.py 161 INFO doctor test starting....... 2018-03-02 03:37:22,421 apex.py 38 INFO Setup Apex installer start...... 2018-03-02 03:37:22,421 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-02 03:37:22,476 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-02 03:37:26,691 apex.py 80 INFO Get controller_ips:['192.30.9.7', '192.30.9.6', '192.30.9.3'] from Apex installer 2018-03-02 03:37:27,724 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.7: b'099b228641a4f83e7fd69f55f28177ce' 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'562c4c09a0c97a7ad7e8f3fa26c5ba30' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.3: b'0b207141cb966b9cc38e9e213aafc05a' key.get_fingerprint()))) 2018-03-02 03:37:47,645 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-02 03:37:47,658 image.py 48 INFO image create start...... 2018-03-02 03:37:54,451 image.py 68 INFO image create end...... 2018-03-02 03:37:54,451 user.py 69 INFO user create start...... 2018-03-02 03:37:54,553 user.py 85 INFO create project...... 2018-03-02 03:37:54,666 user.py 95 INFO test project 2018-03-02 03:37:54,779 user.py 103 INFO create user...... 2018-03-02 03:37:55,150 user.py 113 INFO test user 2018-03-02 03:37:55,231 user.py 127 INFO role _member_ already created...... 2018-03-02 03:37:55,231 user.py 128 INFO test role 2018-03-02 03:37:55,824 user.py 77 INFO user create end...... 2018-03-02 03:37:55,824 main.py 97 INFO doctor fault management test starting....... 2018-03-02 03:37:55,824 user.py 181 INFO user quota update start...... 2018-03-02 03:37:56,549 user.py 197 INFO user quota update end...... 2018-03-02 03:37:56,550 network.py 41 INFO network create start....... 2018-03-02 03:37:57,933 network.py 47 INFO network create end....... 2018-03-02 03:37:57,933 network.py 49 INFO subnet create start....... 2018-03-02 03:37:58,831 network.py 58 INFO subnet create end....... 2018-03-02 03:37:58,832 instance.py 51 INFO instance create start...... 2018-03-02 03:38:02,265 instance.py 73 INFO instance create end...... 2018-03-02 03:38:02,265 instance.py 92 INFO wait for vm launch start...... 2018-03-02 03:38:07,514 instance.py 110 INFO wait for vm launch end...... 2018-03-02 03:38:07,515 alarm.py 45 INFO alarm create start...... 2018-03-02 03:38:10,062 alarm.py 81 INFO alarm create end...... 2018-03-02 03:38:10,063 sample.py 72 INFO sample inspector start...... 2018-03-02 03:38:11,130 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-02 03:38:13,166 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-02 03:38:17,570 apex.py 95 INFO Get host_ip:['192.30.9.8'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-02 03:38:17,571 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.8) which vm(doctor_vm0) launched at 2018-03-02 03:38:17,571 sample.py 30 INFO sample monitor start...... 2018-03-02 03:38:17,572 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-03-02 03:40:17,671 network_failure.py 39 INFO fault inject start...... 2018-03-02 03:40:17,673 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-02 03:40:17,673 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'a12dbebe1cc8d1d0ea37c5619588c30c' key.get_fingerprint()))) 2018-03-02 03:40:17,747 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-02 03:40:17,932 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-02 03:40:17,982 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-02 03:40:17,983 network_failure.py 42 INFO fault inject end...... 2018-03-02 03:40:19,139 sample.py 97 INFO doctor monitor detected at 1519962019.1390953 2018-03-02 03:40:19,139 sample.py 41 INFO sample monitor report error...... 2018-03-02 03:40:19,147 sample.py 163 INFO event posted in sample inspector at 1519962019.1479259 2018-03-02 03:40:19,148 sample.py 164 INFO sample inspector = 2018-03-02 03:40:19,148 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-02T03:40:19.139664", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-02 03:40:19,207 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1519962019.2076 2018-03-02 03:40:19,316 sample.py 121 INFO doctor mark vm() error at 1519962019.3161361 127.0.0.1 - - [02/Mar/2018 03:40:19] "PUT /events HTTP/1.1" 200 - 2018-03-02 03:40:19,319 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-02 03:40:19,448 sample.py 57 INFO doctor consumer notified at 1519962019.4487004 2018-03-02 03:40:19,449 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '54216a5b-e0e0-4c03-85b1-04e923c5023b', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '641b3a75-a3b1-4b03-b9ef-082c19a88df0'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 192], ['user_id', 1, '9581e779481a41bba06b0ec2b023a8d1'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'e8e240efd716418687697dc52c57248a'], ['launched_at', 4, '2018-03-02T03:32:25'], ['disk_gb', 2, 1], ['instance_id', 1, '641b3a75-a3b1-4b03-b9ef-082c19a88df0'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'e8e240efd716418687697dc52c57248a'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-441a2ec2-5d8c-4fbf-af67-1a2ecf5b03b1']], 'message_signature': '7894ae2bcfbec7392dc5ac6bb53c144066bd47f8235587d30804850a0fc892f7', 'raw': {}, 'generated': '2018-03-02T03:40:19.295057', 'message_id': 'd6b9d992-d778-4079-a231-de1376eb2ee0'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [02/Mar/2018 03:40:19] "POST /failure HTTP/1.1" 200 - 2018-03-02 03:40:28,051 main.py 121 INFO doctor fault management test successfully, notification_time=0.30960512161254883 2018-03-02 03:40:28,051 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-02 03:40:28,052 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-02 03:40:28,052 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-02 03:40:29,121 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-02 03:40:29,284 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-02 03:40:29,285 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-02 03:40:29,295 profiler_poc.py 97 INFO Total time cost: 342021(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |341711 |69 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:341711| | | | | | | | found affected:? | | | | | | | set VM error:341888| | | | | | marked host down:341780| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:342021 2018-03-02 03:40:31,396 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [02/Mar/2018 03:40:31] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-02 03:40:31,437 sample.py 35 INFO sample monitor stop...... 2018-03-02 03:40:31,437 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.8) 2018-03-02 03:40:31,437 sample.py 31 INFO sample consumer stop...... 2018-03-02 03:40:31,442 sample.py 64 INFO shutdown consumer app server at 1519962031.4422944 127.0.0.1 - - [02/Mar/2018 03:40:31] "POST /shutdown HTTP/1.1" 200 - 2018-03-02 03:40:31,444 alarm.py 84 INFO alarm delete start....... 2018-03-02 03:40:32,116 alarm.py 93 INFO alarm delete end....... 2018-03-02 03:40:32,117 instance.py 76 INFO instance delete start....... 2018-03-02 03:42:03,160 instance.py 89 INFO instance delete end....... 2018-03-02 03:42:03,161 network.py 61 INFO subnet delete start....... 2018-03-02 03:42:03,917 network.py 64 INFO subnet delete end....... 2018-03-02 03:42:03,918 network.py 66 INFO network delete start....... 2018-03-02 03:42:04,704 network.py 69 INFO network delete end....... 2018-03-02 03:42:04,704 network_failure.py 45 INFO fault inject cleanup...... 2018-03-02 03:42:04,705 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-02 03:42:04,705 apex.py 127 INFO restore apply patches start...... 2018-03-02 03:42:07,911 image.py 71 INFO image delete start....... 2018-03-02 03:42:08,959 image.py 76 INFO image delete end....... 2018-03-02 03:42:08,959 user.py 156 INFO user delete start...... 2018-03-02 03:42:09,516 user.py 178 INFO user delete end...... 2018-03-02 03:42:09,527 - functest.core.feature - ERROR - Execute command: doctor-test failed 2018-03-02 03:42:09,528 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/doctor-notification.log' 2018-03-02 04:48:33,310 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/bgpvpn.log'