/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.30: b'34f7bcb7384ff5c2d1afa3f9d8b4b02e' key.get_fingerprint()))) 2018-03-08 06:41:49,156 main.py 160 INFO doctor test starting....... 2018-03-08 06:41:49,156 apex.py 38 INFO Setup Apex installer start...... 2018-03-08 06:41:49,157 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-08 06:41:49,212 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-08 06:41:53,088 apex.py 80 INFO Get controller_ips:['192.30.9.10', '192.30.9.9', '192.30.9.6'] from Apex installer 2018-03-08 06:41:53,719 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'aca2f463f1fae61444adaf6a339df889' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.9: b'1c80caf0bdea8e992e9b869499858775' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.6: b'a4f3818466611540e5ee250b4e2feb27' key.get_fingerprint()))) 2018-03-08 06:42:13,692 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-08 06:42:13,706 image.py 48 INFO image create start...... 2018-03-08 06:42:21,631 image.py 68 INFO image create end...... 2018-03-08 06:42:21,632 user.py 69 INFO user create start...... 2018-03-08 06:42:21,724 user.py 85 INFO create project...... 2018-03-08 06:42:21,873 user.py 95 INFO test project 2018-03-08 06:42:21,972 user.py 103 INFO create user...... 2018-03-08 06:42:22,347 user.py 113 INFO test user 2018-03-08 06:42:22,368 user.py 127 INFO role _member_ already created...... 2018-03-08 06:42:22,368 user.py 128 INFO test role 2018-03-08 06:42:23,028 user.py 77 INFO user create end...... 2018-03-08 06:42:23,030 main.py 96 INFO doctor fault management test starting....... 2018-03-08 06:42:23,030 user.py 181 INFO user quota update start...... 2018-03-08 06:42:23,755 user.py 197 INFO user quota update end...... 2018-03-08 06:42:23,756 network.py 41 INFO network create start....... 2018-03-08 06:42:26,231 network.py 47 INFO network create end....... 2018-03-08 06:42:26,232 network.py 49 INFO subnet create start....... 2018-03-08 06:42:27,357 network.py 58 INFO subnet create end....... 2018-03-08 06:42:27,357 instance.py 51 INFO instance create start...... 2018-03-08 06:42:30,897 instance.py 73 INFO instance create end...... 2018-03-08 06:42:30,897 instance.py 92 INFO wait for vm launch start...... 2018-03-08 06:42:45,320 instance.py 110 INFO wait for vm launch end...... 2018-03-08 06:42:45,321 alarm.py 45 INFO alarm create start...... 2018-03-08 06:42:48,004 alarm.py 81 INFO alarm create end...... 2018-03-08 06:42:48,004 sample.py 72 INFO sample inspector start...... 2018-03-08 06:42:49,332 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-08 06:42:50,646 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-08 06:42:54,640 apex.py 95 INFO Get host_ip:['192.30.9.5'] from host_name:overcloud-novacompute-0.opnfvlf.org in Apex installer 2018-03-08 06:42:54,641 main.py 193 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.5) which vm(doctor_vm0) launched at 2018-03-08 06:42:54,641 sample.py 30 INFO sample monitor start...... 2018-03-08 06:42:54,641 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.5) 2018-03-08 06:44:54,667 network_failure.py 39 INFO fault inject start...... 2018-03-08 06:44:54,669 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-08 06:44:54,669 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.5: b'6a7c726655f956b6dca08ca8df3b0f7d' key.get_fingerprint()))) 2018-03-08 06:44:54,743 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-08 06:44:54,930 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-08 06:44:54,980 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-08 06:44:54,981 network_failure.py 42 INFO fault inject end...... 2018-03-08 06:44:56,124 sample.py 97 INFO doctor monitor detected at 1520491496.124627 2018-03-08 06:44:56,124 sample.py 41 INFO sample monitor report error...... 2018-03-08 06:44:56,133 sample.py 163 INFO event posted in sample inspector at 1520491496.1335297 2018-03-08 06:44:56,133 sample.py 164 INFO sample inspector = 2018-03-08 06:44:56,134 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-08T06:44:56.125130", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-08 06:44:56,229 sample.py 112 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1520491496.2297478 2018-03-08 06:44:56,289 sample.py 121 INFO doctor mark vm() error at 1520491496.2892697 127.0.0.1 - - [08/Mar/2018 06:44:56] "PUT /events HTTP/1.1" 200 - 2018-03-08 06:44:56,292 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-08 06:44:56,509 sample.py 57 INFO doctor consumer notified at 1520491496.5098126 2018-03-08 06:44:56,510 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '8be269e1-1fa2-44a6-b80c-bd49d816cd7d', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'd60d2dba-80ce-4096-8d94-17ce4b2b6c30'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 195], ['user_id', 1, '942cda3695f84d6885367e9ab9e24fae'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '712d652d14cc472fac0a039d6afedcee'], ['launched_at', 4, '2018-03-08T06:36:37'], ['disk_gb', 2, 1], ['instance_id', 1, 'd60d2dba-80ce-4096-8d94-17ce4b2b6c30'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '712d652d14cc472fac0a039d6afedcee'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-4fbe7eae-a6fe-49b1-b6f7-33da6225e92b']], 'message_signature': 'cc7a38ae871d1ba18e5f3ef3a9e89d556f5c5dc823e174d3d93d6d06c8663281', 'raw': {}, 'generated': '2018-03-08T06:44:56.276879', 'message_id': 'a21bf86c-d119-4aa8-b263-856f85324a15'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [08/Mar/2018 06:44:56] "POST /failure HTTP/1.1" 200 - 2018-03-08 06:45:05,046 main.py 120 INFO doctor fault management test successfully, notification_time=0.38518548011779785 2018-03-08 06:45:05,046 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-08 06:45:05,047 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-08 06:45:05,047 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-08 06:45:06,117 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-08 06:45:06,283 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.5) 2018-03-08 06:45:06,284 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-08 06:45:06,294 profiler_poc.py 97 INFO Total time cost: 365120(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |364735 |105 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:364735| | | | | | | | found affected:? | | | | | | | set VM error:364900| | | | | | marked host down:364840| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:365120 2018-03-08 06:45:08,399 sample.py 78 INFO sample inspector stop...... 2018-03-08 06:45:08,442 sample.py 173 INFO shutdown inspector app server at 1520491508.442835 127.0.0.1 - - [08/Mar/2018 06:45:08] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-08 06:45:08,445 sample.py 35 INFO sample monitor stop...... 2018-03-08 06:45:08,445 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.5) 2018-03-08 06:45:08,445 sample.py 31 INFO sample consumer stop...... 2018-03-08 06:45:08,450 sample.py 64 INFO shutdown consumer app server at 1520491508.4505987 127.0.0.1 - - [08/Mar/2018 06:45:08] "POST /shutdown HTTP/1.1" 200 - 2018-03-08 06:45:08,453 alarm.py 84 INFO alarm delete start....... 2018-03-08 06:45:09,122 alarm.py 93 INFO alarm delete end....... 2018-03-08 06:45:09,122 instance.py 76 INFO instance delete start....... 2018-03-08 06:46:35,157 instance.py 89 INFO instance delete end....... 2018-03-08 06:46:35,157 network.py 61 INFO subnet delete start....... 2018-03-08 06:46:35,805 network.py 64 INFO subnet delete end....... 2018-03-08 06:46:35,805 network.py 66 INFO network delete start....... 2018-03-08 06:46:36,489 network.py 69 INFO network delete end....... 2018-03-08 06:46:36,489 network_failure.py 45 INFO fault inject cleanup...... 2018-03-08 06:46:36,490 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-08 06:46:36,490 apex.py 127 INFO restore apply patches start...... 2018-03-08 06:46:39,644 image.py 71 INFO image delete start....... 2018-03-08 06:46:41,580 image.py 76 INFO image delete end....... 2018-03-08 06:46:41,580 user.py 156 INFO user delete start...... 2018-03-08 06:46:42,396 user.py 178 INFO user delete end...... Total time cost: 365120(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |364735 |105 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:364735| | | | | | | | found affected:? | | | | | | | set VM error:364900| | | | | | marked host down:364840| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:365120 2018-03-08 06:46:42,565 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-08 06:47:01,081 - 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-08 06:47:01,083 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'