/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.164: b'1687eac8fb8a4d794f1405047b0a6e72' key.get_fingerprint()))) 2018-03-05 20:10:36,469 main.py 161 INFO doctor test starting....... 2018-03-05 20:10:36,470 apex.py 38 INFO Setup Apex installer start...... 2018-03-05 20:10:36,470 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 20:10:36,516 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-05 20:10:40,091 apex.py 80 INFO Get controller_ips:['192.30.9.10'] from Apex installer 2018-03-05 20:10:40,684 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'e7c6ac11a64d58213908f7b63568287d' key.get_fingerprint()))) 2018-03-05 20:10:45,749 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-05 20:10:45,756 image.py 48 INFO image create start...... 2018-03-05 20:10:50,689 image.py 68 INFO image create end...... 2018-03-05 20:10:50,689 user.py 69 INFO user create start...... 2018-03-05 20:10:50,782 user.py 85 INFO create project...... 2018-03-05 20:10:50,890 user.py 95 INFO test project 2018-03-05 20:10:50,999 user.py 103 INFO create user...... 2018-03-05 20:10:51,393 user.py 113 INFO test user 2018-03-05 20:10:51,472 user.py 127 INFO role _member_ already created...... 2018-03-05 20:10:51,472 user.py 128 INFO test role 2018-03-05 20:10:52,007 user.py 77 INFO user create end...... 2018-03-05 20:10:52,008 main.py 97 INFO doctor fault management test starting....... 2018-03-05 20:10:52,008 user.py 181 INFO user quota update start...... 2018-03-05 20:10:52,920 user.py 197 INFO user quota update end...... 2018-03-05 20:10:52,921 network.py 41 INFO network create start....... 2018-03-05 20:10:55,415 network.py 47 INFO network create end....... 2018-03-05 20:10:55,416 network.py 49 INFO subnet create start....... 2018-03-05 20:10:56,400 network.py 58 INFO subnet create end....... 2018-03-05 20:10:56,400 instance.py 51 INFO instance create start...... 2018-03-05 20:10:58,109 instance.py 73 INFO instance create end...... 2018-03-05 20:10:58,109 instance.py 92 INFO wait for vm launch start...... 2018-03-05 20:11:11,841 instance.py 110 INFO wait for vm launch end...... 2018-03-05 20:11:11,842 alarm.py 45 INFO alarm create start...... 2018-03-05 20:11:13,611 alarm.py 81 INFO alarm create end...... 2018-03-05 20:11:13,611 sample.py 72 INFO sample inspector start...... 2018-03-05 20:11:14,493 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-05 20:11:15,459 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-05 20:11:19,336 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-0.opnfvlf.org in Apex installer 2018-03-05 20:11:19,337 main.py 194 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-05 20:11:19,337 sample.py 30 INFO sample monitor start...... 2018-03-05 20:11:19,338 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.6) 2018-03-05 20:13:19,402 network_failure.py 39 INFO fault inject start...... 2018-03-05 20:13:19,403 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 20:13:19,403 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'7d1fb2040cd875804a04480478262b2a' key.get_fingerprint()))) 2018-03-05 20:13:19,475 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-05 20:13:19,661 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-05 20:13:19,711 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-05 20:13:19,712 network_failure.py 42 INFO fault inject end...... 2018-03-05 20:13:20,907 sample.py 97 INFO doctor monitor detected at 1520280800.9072146 2018-03-05 20:13:20,907 sample.py 41 INFO sample monitor report error...... 2018-03-05 20:13:20,916 sample.py 163 INFO event posted in sample inspector at 1520280800.9160194 2018-03-05 20:13:20,916 sample.py 164 INFO sample inspector = 2018-03-05 20:13:20,917 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-05T20:13:20.907789", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-05 20:13:21,001 sample.py 112 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1520280801.0010192 2018-03-05 20:13:21,077 sample.py 121 INFO doctor mark vm() error at 1520280801.0772698 127.0.0.1 - - [05/Mar/2018 20:13:21] "PUT /events HTTP/1.1" 200 - 2018-03-05 20:13:21,080 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-05 20:13:21,163 sample.py 57 INFO doctor consumer notified at 1520280801.1634622 2018-03-05 20:13:21,164 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'e657558c-318b-4859-878e-33d24d1b1cbb', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'f0b27b6a-2d59-47e8-afaf-5aba69428fae'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '3a869ab4331542d7bfe44c6365bbea7c'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'ad119e91e9f341d99e45fba33721ca34'], ['launched_at', 4, '2018-03-05T20:05:07'], ['disk_gb', 2, 1], ['instance_id', 1, 'f0b27b6a-2d59-47e8-afaf-5aba69428fae'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'ad119e91e9f341d99e45fba33721ca34'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-42ba1cf6-2401-48fc-ab31-62f72ba52df1']], 'message_signature': '0f1617c8050e4a4eecfe50f2d64fe83be911efdb362591be8161f083e27776aa', 'raw': {}, 'generated': '2018-03-05T20:13:21.069159', 'message_id': 'dae82e2c-cbf2-476e-8cbe-8c92aad2e917'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [05/Mar/2018 20:13:21] "POST /failure HTTP/1.1" 200 - 2018-03-05 20:13:29,770 main.py 121 INFO doctor fault management test successfully, notification_time=0.25624752044677734 2018-03-05 20:13:29,771 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-05 20:13:29,771 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 20:13:29,771 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-05 20:13:30,841 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-05 20:13:30,999 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.6) 2018-03-05 20:13:31,001 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-05 20:13:31,012 profiler_poc.py 97 INFO Total time cost: 362322(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |362065 |94 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:362065| | | | | | | | found affected:? | | | | | | | set VM error:362235| | | | | | marked host down:362159| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:362322 2018-03-05 20:13:33,332 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [05/Mar/2018 20:13:33] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-05 20:13:33,371 sample.py 35 INFO sample monitor stop...... 2018-03-05 20:13:33,372 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.6) 2018-03-05 20:13:33,372 sample.py 31 INFO sample consumer stop...... 2018-03-05 20:13:33,377 sample.py 64 INFO shutdown consumer app server at 1520280813.377 127.0.0.1 - - [05/Mar/2018 20:13:33] "POST /shutdown HTTP/1.1" 200 - 2018-03-05 20:13:33,379 alarm.py 84 INFO alarm delete start....... 2018-03-05 20:13:33,440 alarm.py 93 INFO alarm delete end....... 2018-03-05 20:13:33,440 instance.py 76 INFO instance delete start....... 2018-03-05 20:14:38,174 instance.py 89 INFO instance delete end....... 2018-03-05 20:14:38,174 network.py 61 INFO subnet delete start....... 2018-03-05 20:14:38,721 network.py 64 INFO subnet delete end....... 2018-03-05 20:14:38,721 network.py 66 INFO network delete start....... 2018-03-05 20:14:39,250 network.py 69 INFO network delete end....... 2018-03-05 20:14:39,250 network_failure.py 45 INFO fault inject cleanup...... 2018-03-05 20:14:39,250 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-05 20:14:39,250 apex.py 127 INFO restore apply patches start...... 2018-03-05 20:14:40,419 image.py 71 INFO image delete start....... 2018-03-05 20:14:43,525 image.py 76 INFO image delete end....... 2018-03-05 20:14:43,526 user.py 156 INFO user delete start...... 2018-03-05 20:14:44,106 user.py 178 INFO user delete end...... 2018-03-05 20:14:44,117 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-05 20:14:44,118 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-05 20:15:00,097 - xtesting.core.feature - ERROR - barometer FAILED Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/xtesting/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-05 20:15:00,100 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'