/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.34: b'7d9a5d7bd22109db096c23ec25f03993' key.get_fingerprint()))) 2018-03-02 18:58:10,088 main.py 161 INFO doctor test starting....... 2018-03-02 18:58:10,088 apex.py 38 INFO Setup Apex installer start...... 2018-03-02 18:58:10,088 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-02 18:58:10,142 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-02 18:58:14,100 apex.py 80 INFO Get controller_ips:['192.30.9.10'] from Apex installer 2018-03-02 18:58:14,705 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'caf05455f078ebe4b72cf8e0de198894' key.get_fingerprint()))) 2018-03-02 18:58:17,248 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-02 18:58:17,254 image.py 48 INFO image create start...... 2018-03-02 18:58:23,079 image.py 68 INFO image create end...... 2018-03-02 18:58:23,079 user.py 69 INFO user create start...... 2018-03-02 18:58:23,108 user.py 85 INFO create project...... 2018-03-02 18:58:23,234 user.py 95 INFO test project 2018-03-02 18:58:23,338 user.py 103 INFO create user...... 2018-03-02 18:58:23,713 user.py 113 INFO test user 2018-03-02 18:58:23,786 user.py 127 INFO role _member_ already created...... 2018-03-02 18:58:23,786 user.py 128 INFO test role 2018-03-02 18:58:24,348 user.py 77 INFO user create end...... 2018-03-02 18:58:24,349 main.py 97 INFO doctor fault management test starting....... 2018-03-02 18:58:24,349 user.py 181 INFO user quota update start...... 2018-03-02 18:58:25,010 user.py 197 INFO user quota update end...... 2018-03-02 18:58:25,011 network.py 41 INFO network create start....... 2018-03-02 18:58:26,259 network.py 47 INFO network create end....... 2018-03-02 18:58:26,260 network.py 49 INFO subnet create start....... 2018-03-02 18:58:27,057 network.py 58 INFO subnet create end....... 2018-03-02 18:58:27,057 instance.py 51 INFO instance create start...... 2018-03-02 18:58:29,277 instance.py 73 INFO instance create end...... 2018-03-02 18:58:29,278 instance.py 92 INFO wait for vm launch start...... 2018-03-02 18:58:38,574 instance.py 110 INFO wait for vm launch end...... 2018-03-02 18:58:38,574 alarm.py 45 INFO alarm create start...... 2018-03-02 18:58:40,203 alarm.py 81 INFO alarm create end...... 2018-03-02 18:58:40,204 sample.py 72 INFO sample inspector start...... 2018-03-02 18:58:41,107 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 18:58:42,031 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-02 18:58:46,224 apex.py 95 INFO Get host_ip:['192.30.9.9'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-02 18:58:46,224 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.9) which vm(doctor_vm0) launched at 2018-03-02 18:58:46,225 sample.py 30 INFO sample monitor start...... 2018-03-02 18:58:46,226 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.9) 2018-03-02 19:00:46,272 network_failure.py 39 INFO fault inject start...... 2018-03-02 19:00:46,275 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-02 19:00:46,276 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.9: b'e14410fd847a209e5d6b1370e8bdf822' key.get_fingerprint()))) 2018-03-02 19:00:46,349 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-02 19:00:46,547 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-02 19:00:46,598 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-02 19:00:46,599 network_failure.py 42 INFO fault inject end...... 2018-03-02 19:00:47,803 sample.py 97 INFO doctor monitor detected at 1520017247.803176 2018-03-02 19:00:47,803 sample.py 41 INFO sample monitor report error...... 2018-03-02 19:00:47,811 sample.py 163 INFO event posted in sample inspector at 1520017247.8117504 2018-03-02 19:00:47,812 sample.py 164 INFO sample inspector = 2018-03-02 19:00:47,812 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-02T19:00:47.803739", "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 19:00:47,968 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520017247.9689267 2018-03-02 19:00:48,036 sample.py 121 INFO doctor mark vm() error at 1520017248.0368886 127.0.0.1 - - [02/Mar/2018 19:00:48] "PUT /events HTTP/1.1" 200 - 2018-03-02 19:00:48,039 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-02 19:00:48,128 sample.py 57 INFO doctor consumer notified at 1520017248.1279979 2018-03-02 19:00:48,128 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '39c00662-5e0d-4f10-b472-165e788c5c19', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '5234521c-3f16-4ac4-bb7e-f184cf81a766'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '87536f99a2634eb3b9cc1959c5b9cf98'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'bac7b40f5dcf4d168670e47a9857c2d9'], ['launched_at', 4, '2018-03-02T18:52:54'], ['disk_gb', 2, 1], ['instance_id', 1, '5234521c-3f16-4ac4-bb7e-f184cf81a766'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'bac7b40f5dcf4d168670e47a9857c2d9'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-32a5d331-eba2-4ee8-95f4-2bee8f3fcc87']], 'message_signature': 'cce830416b3b71f37b00382b3b5d507f881a20756ea23b91baebcc71cd1c45b3', 'raw': {}, 'generated': '2018-03-02T19:00:48.021292', 'message_id': '21bc5c5c-41db-4a68-a15a-d97e34837560'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [02/Mar/2018 19:00:48] "POST /failure HTTP/1.1" 200 - 2018-03-02 19:00:56,660 main.py 121 INFO doctor fault management test successfully, notification_time=0.32482194900512695 2018-03-02 19:00:56,660 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-02 19:00:56,661 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-02 19:00:56,661 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-02 19:00:57,728 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-02 19:00:57,889 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.9) 2018-03-02 19:00:57,890 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-02 19:00:57,900 profiler_poc.py 97 INFO Total time cost: 343666(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |343342 |165 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:343342| | | | | | | | found affected:? | | | | | | | set VM error:343575| | | | | | marked host down:343507| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:343666 2018-03-02 19:01:00,007 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [02/Mar/2018 19:01:00] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-02 19:01:00,053 sample.py 35 INFO sample monitor stop...... 2018-03-02 19:01:00,054 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.9) 2018-03-02 19:01:00,054 sample.py 31 INFO sample consumer stop...... 2018-03-02 19:01:00,059 sample.py 64 INFO shutdown consumer app server at 1520017260.0594437 127.0.0.1 - - [02/Mar/2018 19:01:00] "POST /shutdown HTTP/1.1" 200 - 2018-03-02 19:01:00,061 alarm.py 84 INFO alarm delete start....... 2018-03-02 19:01:00,113 alarm.py 93 INFO alarm delete end....... 2018-03-02 19:01:00,113 instance.py 76 INFO instance delete start....... 2018-03-02 19:01:03,378 instance.py 89 INFO instance delete end....... 2018-03-02 19:01:03,379 network.py 61 INFO subnet delete start....... 2018-03-02 19:01:04,080 network.py 64 INFO subnet delete end....... 2018-03-02 19:01:04,080 network.py 66 INFO network delete start....... 2018-03-02 19:01:04,993 network.py 69 INFO network delete end....... 2018-03-02 19:01:04,994 network_failure.py 45 INFO fault inject cleanup...... 2018-03-02 19:01:04,994 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-02 19:01:04,994 apex.py 127 INFO restore apply patches start...... 2018-03-02 19:01:06,539 image.py 71 INFO image delete start....... 2018-03-02 19:01:09,935 image.py 76 INFO image delete end....... 2018-03-02 19:01:09,935 user.py 156 INFO user delete start...... 2018-03-02 19:01:10,547 user.py 178 INFO user delete end...... 2018-03-02 19:01:10,556 - functest.core.feature - ERROR - Execute command: doctor-test failed 2018-03-02 19:01:10,558 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/doctor-notification.log' 2018-03-02 19:01:25,838 - functest.core.feature - ERROR - barometer FAILED Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/core/feature.py", line 97, in run if self.execute(**kwargs) == 0: File "/usr/lib/python2.7/site-packages/baro_tests/barometer.py", line 24, in execute return collectd.main(self.__logger) File "/usr/lib/python2.7/site-packages/baro_tests/collectd.py", line 742, in main mcelog_install() File "/usr/lib/python2.7/site-packages/baro_tests/collectd.py", line 648, in mcelog_install if 'mce-inject_ea' and 'corrected' in res: UnboundLocalError: local variable 'res' referenced before assignment 2018-03-02 19:01:25,840 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/barometercollectd.log'