/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.227: b'2d00de90820aa4238456013b65c70a74' key.get_fingerprint()))) 2018-03-10 04:12:34,689 main.py 160 INFO doctor test starting....... 2018-03-10 04:12:34,689 apex.py 38 INFO Setup Apex installer start...... 2018-03-10 04:12:34,689 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-10 04:12:34,737 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-10 04:12:38,809 apex.py 80 INFO Get controller_ips:['192.30.9.3', '192.30.9.7', '192.30.9.5'] from Apex installer 2018-03-10 04:12:39,528 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.3: b'72d1bc4ae4716eb4a4299e348c073e65' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.7: b'bfb86b7df2779744e6ebf79465ff50d4' 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'14da70cbefb2938bebea0d50376e4864' key.get_fingerprint()))) 2018-03-10 04:13:16,130 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-10 04:13:16,146 image.py 48 INFO image create start...... 2018-03-10 04:13:24,278 image.py 68 INFO image create end...... 2018-03-10 04:13:24,279 user.py 69 INFO user create start...... 2018-03-10 04:13:24,369 user.py 85 INFO create project...... 2018-03-10 04:13:24,503 user.py 95 INFO test project 2018-03-10 04:13:24,598 user.py 103 INFO create user...... 2018-03-10 04:13:24,959 user.py 113 INFO test user 2018-03-10 04:13:25,048 user.py 127 INFO role _member_ already created...... 2018-03-10 04:13:25,049 user.py 128 INFO test role 2018-03-10 04:13:25,703 user.py 77 INFO user create end...... 2018-03-10 04:13:25,704 main.py 96 INFO doctor fault management test starting....... 2018-03-10 04:13:25,704 user.py 181 INFO user quota update start...... 2018-03-10 04:13:26,648 user.py 197 INFO user quota update end...... 2018-03-10 04:13:26,648 network.py 41 INFO network create start....... 2018-03-10 04:13:28,717 network.py 47 INFO network create end....... 2018-03-10 04:13:28,717 network.py 49 INFO subnet create start....... 2018-03-10 04:13:29,603 network.py 58 INFO subnet create end....... 2018-03-10 04:13:29,603 instance.py 51 INFO instance create start...... 2018-03-10 04:13:32,635 instance.py 73 INFO instance create end...... 2018-03-10 04:13:32,636 instance.py 92 INFO wait for vm launch start...... 2018-03-10 04:13:47,107 instance.py 110 INFO wait for vm launch end...... 2018-03-10 04:13:47,107 alarm.py 45 INFO alarm create start...... 2018-03-10 04:13:49,983 alarm.py 81 INFO alarm create end...... 2018-03-10 04:13:49,984 sample.py 72 INFO sample inspector start...... 2018-03-10 04:13:51,352 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-10 04:13:52,875 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-10 04:13:57,433 apex.py 95 INFO Get host_ip:['192.30.9.4'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-10 04:13:57,434 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.4) which vm(doctor_vm0) launched at 2018-03-10 04:13:57,434 sample.py 30 INFO sample monitor start...... 2018-03-10 04:13:57,435 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2018-03-10 04:15:57,442 network_failure.py 39 INFO fault inject start...... 2018-03-10 04:15:57,444 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-10 04:15:57,444 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.4: b'5af074fec9836c93a554de82df85d9a5' key.get_fingerprint()))) 2018-03-10 04:15:57,517 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-10 04:15:57,715 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-10 04:15:57,765 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-10 04:15:57,766 network_failure.py 42 INFO fault inject end...... 2018-03-10 04:15:58,977 sample.py 97 INFO doctor monitor detected at 1520655358.977829 2018-03-10 04:15:58,978 sample.py 41 INFO sample monitor report error...... 2018-03-10 04:15:58,986 sample.py 163 INFO event posted in sample inspector at 1520655358.9869182 2018-03-10 04:15:58,987 sample.py 164 INFO sample inspector = 2018-03-10 04:15:58,988 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-10T04:15:58.978335", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-10 04:15:59,062 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520655359.0626607 2018-03-10 04:15:59,202 sample.py 121 INFO doctor mark vm() error at 1520655359.202609 127.0.0.1 - - [10/Mar/2018 04:15:59] "PUT /events HTTP/1.1" 200 - 2018-03-10 04:15:59,205 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-10 04:15:59,342 sample.py 57 INFO doctor consumer notified at 1520655359.3429248 2018-03-10 04:15:59,343 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '6284cedc-3c1a-4e38-811b-ba3d35f64936', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'b6a8eb7d-2f16-46d6-8916-754828cca9eb'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 201], ['user_id', 1, '7bd82f9aca1f407fa2acc29624cc2ab5'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'c0be44595f544f9cbb4e58cde0b70374'], ['launched_at', 4, '2018-03-10T04:07:51'], ['disk_gb', 2, 1], ['instance_id', 1, 'b6a8eb7d-2f16-46d6-8916-754828cca9eb'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'c0be44595f544f9cbb4e58cde0b70374'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-73073515-9491-44a5-9e5a-af138dcc737d']], 'message_signature': '49507da2dc7547f7cf08e0409561ced19a88bfe4d4f4fdc349f2736c8e54373c', 'raw': {}, 'generated': '2018-03-10T04:15:59.188238', 'message_id': '3322946a-4c72-4af6-84df-2cb211837f11'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [10/Mar/2018 04:15:59] "POST /failure HTTP/1.1" 200 - 2018-03-10 04:16:07,824 main.py 120 INFO doctor fault management test successfully, notification_time=0.365095853805542 2018-03-10 04:16:07,824 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-10 04:16:07,824 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-10 04:16:07,824 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-10 04:16:08,894 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-10 04:16:09,058 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.4) 2018-03-10 04:16:09,059 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-10 04:16:09,069 profiler_poc.py 97 INFO Total time cost: 352955(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |352590 |85 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:352590| | | | | | | | found affected:? | | | | | | | set VM error:352815| | | | | | marked host down:352675| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:352955 2018-03-10 04:16:11,170 sample.py 78 INFO sample inspector stop...... 2018-03-10 04:16:11,208 sample.py 173 INFO shutdown inspector app server at 1520655371.2089307 127.0.0.1 - - [10/Mar/2018 04:16:11] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-10 04:16:11,211 sample.py 35 INFO sample monitor stop...... 2018-03-10 04:16:11,211 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2018-03-10 04:16:11,211 sample.py 31 INFO sample consumer stop...... 2018-03-10 04:16:11,216 sample.py 64 INFO shutdown consumer app server at 1520655371.2162533 127.0.0.1 - - [10/Mar/2018 04:16:11] "POST /shutdown HTTP/1.1" 200 - 2018-03-10 04:16:11,218 alarm.py 84 INFO alarm delete start....... 2018-03-10 04:16:11,873 alarm.py 93 INFO alarm delete end....... 2018-03-10 04:16:11,873 instance.py 76 INFO instance delete start....... 2018-03-10 04:17:44,293 instance.py 89 INFO instance delete end....... 2018-03-10 04:17:44,293 network.py 61 INFO subnet delete start....... 2018-03-10 04:17:45,125 network.py 64 INFO subnet delete end....... 2018-03-10 04:17:45,125 network.py 66 INFO network delete start....... 2018-03-10 04:17:46,065 network.py 69 INFO network delete end....... 2018-03-10 04:17:46,066 network_failure.py 45 INFO fault inject cleanup...... 2018-03-10 04:17:46,066 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-10 04:17:46,066 apex.py 127 INFO restore apply patches start...... 2018-03-10 04:17:49,261 image.py 71 INFO image delete start....... 2018-03-10 04:17:52,941 image.py 76 INFO image delete end....... 2018-03-10 04:17:52,942 user.py 156 INFO user delete start...... 2018-03-10 04:17:54,470 user.py 178 INFO user delete end...... Total time cost: 352955(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |352590 |85 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:352590| | | | | | | | found affected:? | | | | | | | set VM error:352815| | | | | | marked host down:352675| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:352955 2018-03-10 04:17:54,623 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-10 04:18:15,494 - 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-10 04:18:15,497 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'