/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.103: b'bf7ff612a771f1e45e2c83e3e081fb27' key.get_fingerprint()))) 2018-02-27 14:14:24,304 main.py 161 INFO doctor test starting....... 2018-02-27 14:14:24,304 apex.py 38 INFO Setup Apex installer start...... 2018-02-27 14:14:24,304 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 14:14:24,357 apex.py 69 INFO Get controller ips from Apex installer...... 2018-02-27 14:14:28,532 apex.py 80 INFO Get controller_ips:['192.30.9.6'] from Apex installer 2018-02-27 14:14:29,142 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.6: b'bac7bdc0fdf4cfa962b4d3234e55acfd' key.get_fingerprint()))) 2018-02-27 14:14:33,508 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-02-27 14:14:33,513 image.py 48 INFO image create start...... 2018-02-27 14:14:43,037 image.py 68 INFO image create end...... 2018-02-27 14:14:43,038 user.py 69 INFO user create start...... 2018-02-27 14:14:43,124 user.py 85 INFO create project...... 2018-02-27 14:14:43,222 user.py 95 INFO test project 2018-02-27 14:14:43,316 user.py 103 INFO create user...... 2018-02-27 14:14:43,672 user.py 113 INFO test user 2018-02-27 14:14:43,748 user.py 127 INFO role _member_ already created...... 2018-02-27 14:14:43,749 user.py 128 INFO test role 2018-02-27 14:14:44,258 user.py 77 INFO user create end...... 2018-02-27 14:14:44,258 main.py 97 INFO doctor fault management test starting....... 2018-02-27 14:14:44,258 user.py 181 INFO user quota update start...... 2018-02-27 14:14:44,942 user.py 197 INFO user quota update end...... 2018-02-27 14:14:44,942 network.py 41 INFO network create start....... 2018-02-27 14:14:46,054 network.py 47 INFO network create end....... 2018-02-27 14:14:46,054 network.py 49 INFO subnet create start....... 2018-02-27 14:14:46,599 network.py 58 INFO subnet create end....... 2018-02-27 14:14:46,599 instance.py 51 INFO instance create start...... 2018-02-27 14:14:48,522 instance.py 73 INFO instance create end...... 2018-02-27 14:14:48,522 instance.py 92 INFO wait for vm launch start...... 2018-02-27 14:14:53,746 instance.py 110 INFO wait for vm launch end...... 2018-02-27 14:14:53,746 alarm.py 45 INFO alarm create start...... 2018-02-27 14:14:55,226 alarm.py 81 INFO alarm create end...... 2018-02-27 14:14:55,226 sample.py 72 INFO sample inspector start...... 2018-02-27 14:14:56,016 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 14:14:56,866 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-02-27 14:15:00,944 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-02-27 14:15:00,944 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-02-27 14:15:00,945 sample.py 30 INFO sample monitor start...... 2018-02-27 14:15:00,945 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-02-27 14:17:01,046 network_failure.py 39 INFO fault inject start...... 2018-02-27 14:17:01,047 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 14:17:01,048 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'66e70753006b659d36823452f803460d' key.get_fingerprint()))) 2018-02-27 14:17:01,126 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-02-27 14:17:01,321 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-02-27 14:17:01,371 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-02-27 14:17:01,372 network_failure.py 42 INFO fault inject end...... 2018-02-27 14:17:02,513 sample.py 97 INFO doctor monitor detected at 1519741022.5130854 2018-02-27 14:17:02,513 sample.py 41 INFO sample monitor report error...... 2018-02-27 14:17:02,521 sample.py 163 INFO event posted in sample inspector at 1519741022.5212731 2018-02-27 14:17:02,521 sample.py 164 INFO sample inspector = 2018-02-27 14:17:02,522 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-02-27T14:17:02.513689", "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 14:17:02,820 sample.py 121 INFO doctor mark vm() error at 1519741022.8207972 2018-02-27 14:17:02,949 sample.py 57 INFO doctor consumer notified at 1519741022.949713 2018-02-27 14:17:02,950 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '7fc67c05-b4bc-4550-b299-6ea84bf730cb', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '3649fa9b-5cc7-4852-ab33-8bffdf59bdbe'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, 'bdb777ed3e8c4430b102442ded591f1f'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '55ebdf8f491c4541a616713a50dafc32'], ['launched_at', 4, '2018-02-27T14:08:55'], ['disk_gb', 2, 1], ['instance_id', 1, '3649fa9b-5cc7-4852-ab33-8bffdf59bdbe'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '55ebdf8f491c4541a616713a50dafc32'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-2d2df446-5082-4d3e-bb8a-95ac5df3077d']], 'message_signature': '2758754b87f87c3fce8f3c7ba34e1993304c1297fca4b7df45363c8bab4259c1', 'raw': {}, 'generated': '2018-02-27T14:17:02.812940', 'message_id': '20556872-00a9-4d40-93fa-e402a054bb8b'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [27/Feb/2018 14:17:02] "POST /failure HTTP/1.1" 200 - 2018-02-27 14:17:03,387 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1519741023.3871746 127.0.0.1 - - [27/Feb/2018 14:17:03] "PUT /events HTTP/1.1" 200 - 2018-02-27 14:17:03,389 sample.py 99 INFO ping timeout, quit monitoring... 2018-02-27 14:17:11,431 main.py 121 INFO doctor fault management test successfully, notification_time=0.4366276264190674 2018-02-27 14:17:11,432 main.py 128 INFO doctor fault management test begin to run profile....... 2018-02-27 14:17:11,432 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 14:17:11,432 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-02-27 14:17:12,502 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-02-27 14:17:12,669 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.7) 2018-02-27 14:17:12,670 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-02-27 14:17:12,689 profiler_poc.py 97 INFO Total time cost: 356938(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |356501 |874 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:356501| | | | | | | | found affected:? | | | | | | | set VM error:356809| | | | | | marked host down:357375| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356938 2018-02-27 14:17:14,882 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [27/Feb/2018 14:17:14] "POST /events/shutdown HTTP/1.1" 404 - 2018-02-27 14:17:14,930 sample.py 35 INFO sample monitor stop...... 2018-02-27 14:17:14,930 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-02-27 14:17:14,931 sample.py 31 INFO sample consumer stop...... 2018-02-27 14:17:14,935 sample.py 64 INFO shutdown consumer app server at 1519741034.9356425 127.0.0.1 - - [27/Feb/2018 14:17:14] "POST /shutdown HTTP/1.1" 200 - 2018-02-27 14:17:14,938 alarm.py 84 INFO alarm delete start....... 2018-02-27 14:17:14,977 alarm.py 93 INFO alarm delete end....... 2018-02-27 14:17:14,977 instance.py 76 INFO instance delete start....... 2018-02-27 14:18:30,365 instance.py 89 INFO instance delete end....... 2018-02-27 14:18:30,365 network.py 61 INFO subnet delete start....... 2018-02-27 14:18:30,808 network.py 64 INFO subnet delete end....... 2018-02-27 14:18:30,808 network.py 66 INFO network delete start....... 2018-02-27 14:18:31,475 network.py 69 INFO network delete end....... 2018-02-27 14:18:31,475 network_failure.py 45 INFO fault inject cleanup...... 2018-02-27 14:18:31,475 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-02-27 14:18:31,475 apex.py 127 INFO restore apply patches start...... 2018-02-27 14:18:32,675 image.py 71 INFO image delete start....... 2018-02-27 14:18:33,688 image.py 76 INFO image delete end....... 2018-02-27 14:18:33,688 user.py 156 INFO user delete start...... 2018-02-27 14:18:34,143 user.py 178 INFO user delete end...... 2018-02-27 14:18:34,154 - functest.core.feature - ERROR - Execute command: doctor-test failed 2018-02-27 14:18:34,154 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/doctor-notification.log'