/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.194: b'7fc066c4ace8164e7cddedb391356efd' key.get_fingerprint()))) 2018-03-01 15:53:01,982 main.py 161 INFO doctor test starting....... 2018-03-01 15:53:01,983 apex.py 38 INFO Setup Apex installer start...... 2018-03-01 15:53:01,983 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-01 15:53:02,033 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-01 15:53:06,267 apex.py 80 INFO Get controller_ips:['192.30.9.7', '192.30.9.3', '192.30.9.5'] from Apex installer 2018-03-01 15:53:06,917 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'7ba125f350fb0438c4b18fbcd55a6291' 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'4613b2f0f1e667829ec0ba7c8d4b7462' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.5: b'78f90b390a1329b4039fb0d870d33cd9' key.get_fingerprint()))) 2018-03-01 15:53:31,478 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-01 15:53:31,494 image.py 48 INFO image create start...... 2018-03-01 15:53:37,344 image.py 68 INFO image create end...... 2018-03-01 15:53:37,344 user.py 69 INFO user create start...... 2018-03-01 15:53:37,445 user.py 85 INFO create project...... 2018-03-01 15:53:37,563 user.py 95 INFO test project 2018-03-01 15:53:37,602 user.py 103 INFO create user...... 2018-03-01 15:53:38,003 user.py 113 INFO test user 2018-03-01 15:53:38,093 user.py 127 INFO role _member_ already created...... 2018-03-01 15:53:38,093 user.py 128 INFO test role 2018-03-01 15:53:38,751 user.py 77 INFO user create end...... 2018-03-01 15:53:38,751 main.py 97 INFO doctor fault management test starting....... 2018-03-01 15:53:38,752 user.py 181 INFO user quota update start...... 2018-03-01 15:53:39,484 user.py 197 INFO user quota update end...... 2018-03-01 15:53:39,484 network.py 41 INFO network create start....... 2018-03-01 15:53:40,773 network.py 47 INFO network create end....... 2018-03-01 15:53:40,773 network.py 49 INFO subnet create start....... 2018-03-01 15:53:41,926 network.py 58 INFO subnet create end....... 2018-03-01 15:53:41,926 instance.py 51 INFO instance create start...... 2018-03-01 15:53:45,486 instance.py 73 INFO instance create end...... 2018-03-01 15:53:45,486 instance.py 92 INFO wait for vm launch start...... 2018-03-01 15:53:55,201 instance.py 110 INFO wait for vm launch end...... 2018-03-01 15:53:55,202 alarm.py 45 INFO alarm create start...... 2018-03-01 15:53:57,782 alarm.py 81 INFO alarm create end...... 2018-03-01 15:53:57,782 sample.py 72 INFO sample inspector start...... 2018-03-01 15:53:59,105 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-01 15:54:00,216 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-01 15:54:04,193 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-01 15:54:04,194 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-01 15:54:04,194 sample.py 30 INFO sample monitor start...... 2018-03-01 15:54:04,195 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-01 15:56:04,285 network_failure.py 39 INFO fault inject start...... 2018-03-01 15:56:04,286 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-01 15:56:04,286 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'3a21a8bd397e33543c0441a4e4171795' key.get_fingerprint()))) 2018-03-01 15:56:04,359 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-01 15:56:04,536 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-01 15:56:04,587 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-01 15:56:04,588 network_failure.py 42 INFO fault inject end...... 2018-03-01 15:56:05,794 sample.py 97 INFO doctor monitor detected at 1519919765.7946782 2018-03-01 15:56:05,795 sample.py 41 INFO sample monitor report error...... 2018-03-01 15:56:05,802 sample.py 163 INFO event posted in sample inspector at 1519919765.8028195 2018-03-01 15:56:05,803 sample.py 164 INFO sample inspector = 2018-03-01 15:56:05,803 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-01T15:56:05.795217", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-01 15:56:05,871 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1519919765.8710186 2018-03-01 15:56:05,964 sample.py 121 INFO doctor mark vm() error at 1519919765.964703 127.0.0.1 - - [01/Mar/2018 15:56:05] "PUT /events HTTP/1.1" 200 - 2018-03-01 15:56:05,967 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-01 15:56:06,065 sample.py 57 INFO doctor consumer notified at 1519919766.0653028 2018-03-01 15:56:06,065 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '7cde781e-84fe-41d1-a2bc-0d5d83950fc1', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'e921dd94-e603-41ef-94f2-91fc9851f617'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 195], ['user_id', 1, '9cee9c46c4b6434290a521575a38ab56'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '062e767032cc41769716811af7376c82'], ['launched_at', 4, '2018-03-01T15:48:09'], ['disk_gb', 2, 1], ['instance_id', 1, 'e921dd94-e603-41ef-94f2-91fc9851f617'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '062e767032cc41769716811af7376c82'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-c0816deb-750c-4c9c-b0d8-3c635b221d56']], 'message_signature': '77fb6bcfbbf891b6e1268a520ca4f2fc3d844c63c2f07d35ee6b7049d8257c3c', 'raw': {}, 'generated': '2018-03-01T15:56:05.946088', 'message_id': '93c33656-9e48-4c13-9430-5c64aee91711'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [01/Mar/2018 15:56:06] "POST /failure HTTP/1.1" 200 - 2018-03-01 15:56:14,651 main.py 121 INFO doctor fault management test successfully, notification_time=0.27062463760375977 2018-03-01 15:56:14,652 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-01 15:56:14,652 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-01 15:56:14,652 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-01 15:56:15,721 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-01 15:56:15,883 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.6) 2018-03-01 15:56:15,883 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-01 15:56:15,894 profiler_poc.py 97 INFO Total time cost: 341306(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |341035 |77 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:341035| | | | | | | | found affected:? | | | | | | | set VM error:341205| | | | | | marked host down:341112| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:341306 2018-03-01 15:56:17,998 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [01/Mar/2018 15:56:18] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-01 15:56:18,049 sample.py 35 INFO sample monitor stop...... 2018-03-01 15:56:18,049 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-01 15:56:18,049 sample.py 31 INFO sample consumer stop...... 2018-03-01 15:56:18,053 sample.py 64 INFO shutdown consumer app server at 1519919778.0539126 127.0.0.1 - - [01/Mar/2018 15:56:18] "POST /shutdown HTTP/1.1" 200 - 2018-03-01 15:56:18,056 alarm.py 84 INFO alarm delete start....... 2018-03-01 15:56:18,707 alarm.py 93 INFO alarm delete end....... 2018-03-01 15:56:18,708 instance.py 76 INFO instance delete start....... 2018-03-01 15:57:21,731 instance.py 89 INFO instance delete end....... 2018-03-01 15:57:21,731 network.py 61 INFO subnet delete start....... 2018-03-01 15:57:22,499 network.py 64 INFO subnet delete end....... 2018-03-01 15:57:22,500 network.py 66 INFO network delete start....... 2018-03-01 15:57:23,256 network.py 69 INFO network delete end....... 2018-03-01 15:57:23,256 network_failure.py 45 INFO fault inject cleanup...... 2018-03-01 15:57:23,256 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-01 15:57:23,256 apex.py 127 INFO restore apply patches start...... 2018-03-01 15:57:26,406 image.py 71 INFO image delete start....... 2018-03-01 15:57:28,024 image.py 76 INFO image delete end....... 2018-03-01 15:57:28,024 user.py 156 INFO user delete start...... 2018-03-01 15:57:28,624 user.py 178 INFO user delete end...... 2018-03-01 15:57:28,634 - functest.core.feature - ERROR - Execute command: doctor-test failed 2018-03-01 15:57:28,635 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/doctor-notification.log'