/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.129: b'cc956cf11dcc0d7d442c75b92b1bb0a0' key.get_fingerprint()))) 2018-02-27 04:36:37,286 main.py 161 INFO doctor test starting....... 2018-02-27 04:36:37,286 apex.py 38 INFO Setup Apex installer start...... 2018-02-27 04:36:37,286 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 04:36:37,333 apex.py 69 INFO Get controller ips from Apex installer...... 2018-02-27 04:36:41,459 apex.py 80 INFO Get controller_ips:['192.30.9.10'] from Apex installer 2018-02-27 04:36:42,074 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'9550ee16ff404c1eeea1cc6b193875de' key.get_fingerprint()))) 2018-02-27 04:36:45,830 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-02-27 04:36:45,836 image.py 48 INFO image create start...... 2018-02-27 04:37:09,370 image.py 68 INFO image create end...... 2018-02-27 04:37:09,371 user.py 69 INFO user create start...... 2018-02-27 04:37:09,455 user.py 85 INFO create project...... 2018-02-27 04:37:09,555 user.py 95 INFO test project 2018-02-27 04:37:09,647 user.py 103 INFO create user...... 2018-02-27 04:37:09,998 user.py 113 INFO test user 2018-02-27 04:37:10,079 user.py 127 INFO role _member_ already created...... 2018-02-27 04:37:10,079 user.py 128 INFO test role 2018-02-27 04:37:10,596 user.py 77 INFO user create end...... 2018-02-27 04:37:10,596 main.py 97 INFO doctor fault management test starting....... 2018-02-27 04:37:10,597 user.py 181 INFO user quota update start...... 2018-02-27 04:37:11,270 user.py 197 INFO user quota update end...... 2018-02-27 04:37:11,270 network.py 41 INFO network create start....... 2018-02-27 04:37:12,515 network.py 47 INFO network create end....... 2018-02-27 04:37:12,515 network.py 49 INFO subnet create start....... 2018-02-27 04:37:13,057 network.py 58 INFO subnet create end....... 2018-02-27 04:37:13,057 instance.py 51 INFO instance create start...... 2018-02-27 04:37:15,297 instance.py 73 INFO instance create end...... 2018-02-27 04:37:15,297 instance.py 92 INFO wait for vm launch start...... 2018-02-27 04:37:23,976 instance.py 110 INFO wait for vm launch end...... 2018-02-27 04:37:23,977 alarm.py 45 INFO alarm create start...... 2018-02-27 04:37:25,491 alarm.py 81 INFO alarm create end...... 2018-02-27 04:37:25,492 sample.py 72 INFO sample inspector start...... 2018-02-27 04:37:26,473 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-02-27 04:37:27,532 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-02-27 04:37:31,897 apex.py 95 INFO Get host_ip:['192.30.9.3'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-02-27 04:37:31,898 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.3) which vm(doctor_vm0) launched at 2018-02-27 04:37:31,899 sample.py 30 INFO sample monitor start...... 2018-02-27 04:37:31,899 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.3) 2018-02-27 04:39:31,940 network_failure.py 39 INFO fault inject start...... 2018-02-27 04:39:31,941 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 04:39:31,942 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.3: b'2b6c640084ec3c01fd653e39e9412793' key.get_fingerprint()))) 2018-02-27 04:39:32,021 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-02-27 04:39:32,225 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-02-27 04:39:32,276 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-02-27 04:39:32,277 network_failure.py 42 INFO fault inject end...... 2018-02-27 04:39:33,455 sample.py 97 INFO doctor monitor detected at 1519706373.4555817 2018-02-27 04:39:33,455 sample.py 41 INFO sample monitor report error...... 2018-02-27 04:39:33,464 sample.py 163 INFO event posted in sample inspector at 1519706373.4640975 2018-02-27 04:39:33,464 sample.py 164 INFO sample inspector = 2018-02-27 04:39:33,464 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-02-27T04:39:33.456088", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-02-27 04:39:33,533 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1519706373.5333157 2018-02-27 04:39:33,608 sample.py 121 INFO doctor mark vm() error at 1519706373.6083572 127.0.0.1 - - [27/Feb/2018 04:39:33] "PUT /events HTTP/1.1" 200 - 2018-02-27 04:39:33,611 sample.py 99 INFO ping timeout, quit monitoring... 2018-02-27 04:39:33,706 sample.py 57 INFO doctor consumer notified at 1519706373.706874 2018-02-27 04:39:33,707 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'e9b8581e-c043-4978-a03b-e6783096d443', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '5fdc9ec5-3eb5-4a2c-a246-1a395c2a8b43'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '879415492cd74b08acbc35f46360ce8d'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '64c378ca9b2f462084be513949e85647'], ['launched_at', 4, '2018-02-27T04:31:23'], ['disk_gb', 2, 1], ['instance_id', 1, '5fdc9ec5-3eb5-4a2c-a246-1a395c2a8b43'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '64c378ca9b2f462084be513949e85647'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-39e7d6a7-0df7-4be2-bb3c-55143c9acf48']], 'message_signature': '57a2e6bf17b226a8b1965d695885f5aecbb0c2d0801f20138bdbbf5a0bcc0a28', 'raw': {}, 'generated': '2018-02-27T04:39:33.598754', 'message_id': '9a4ae5f3-c197-4a97-a617-a55c8dc3abac'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [27/Feb/2018 04:39:33] "POST /failure HTTP/1.1" 200 - 2018-02-27 04:39:42,347 main.py 121 INFO doctor fault management test successfully, notification_time=0.25129222869873047 2018-02-27 04:39:42,348 main.py 128 INFO doctor fault management test begin to run profile....... 2018-02-27 04:39:42,348 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 04:39:42,348 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-02-27 04:39:43,416 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-02-27 04:39:43,578 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.3) 2018-02-27 04:39:43,579 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-02-27 04:39:43,590 profiler_poc.py 97 INFO Total time cost: 357090(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |356839 |77 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:356839| | | | | | | | found affected:? | | | | | | | set VM error:356991| | | | | | marked host down:356916| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:357090 2018-02-27 04:39:45,720 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [27/Feb/2018 04:39:45] "POST /events/shutdown HTTP/1.1" 404 - 2018-02-27 04:39:45,769 sample.py 35 INFO sample monitor stop...... 2018-02-27 04:39:45,769 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.3) 2018-02-27 04:39:45,770 sample.py 31 INFO sample consumer stop...... 2018-02-27 04:39:45,775 sample.py 64 INFO shutdown consumer app server at 1519706385.7750258 127.0.0.1 - - [27/Feb/2018 04:39:45] "POST /shutdown HTTP/1.1" 200 - 2018-02-27 04:39:45,777 alarm.py 84 INFO alarm delete start....... 2018-02-27 04:39:45,818 alarm.py 93 INFO alarm delete end....... 2018-02-27 04:39:45,819 instance.py 76 INFO instance delete start....... 2018-02-27 04:39:47,878 instance.py 89 INFO instance delete end....... 2018-02-27 04:39:47,878 network.py 61 INFO subnet delete start....... 2018-02-27 04:39:48,432 network.py 64 INFO subnet delete end....... 2018-02-27 04:39:48,433 network.py 66 INFO network delete start....... 2018-02-27 04:39:49,109 network.py 69 INFO network delete end....... 2018-02-27 04:39:49,109 network_failure.py 45 INFO fault inject cleanup...... 2018-02-27 04:39:49,109 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-02-27 04:39:49,109 apex.py 127 INFO restore apply patches start...... 2018-02-27 04:39:50,312 image.py 71 INFO image delete start....... 2018-02-27 04:39:51,137 image.py 76 INFO image delete end....... 2018-02-27 04:39:51,137 user.py 156 INFO user delete start...... 2018-02-27 04:39:51,615 user.py 178 INFO user delete end...... 2018-02-27 04:39:51,624 - functest.core.feature - ERROR - Execute command: doctor-test failed 2018-02-27 04:39:51,625 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/doctor-notification.log'