/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.224: b'b09fd585d1634e5c1b2955370060a162' key.get_fingerprint()))) 2018-03-04 03:38:18,396 main.py 161 INFO doctor test starting....... 2018-03-04 03:38:18,396 apex.py 38 INFO Setup Apex installer start...... 2018-03-04 03:38:18,396 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 03:38:18,445 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-04 03:38:21,861 apex.py 80 INFO Get controller_ips:['192.30.9.4'] from Apex installer 2018-03-04 03:38:22,799 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.4: b'740b4aeecd51e908da7c179825b58277' key.get_fingerprint()))) 2018-03-04 03:38:27,780 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-04 03:38:27,786 image.py 48 INFO image create start...... 2018-03-04 03:38:32,321 image.py 68 INFO image create end...... 2018-03-04 03:38:32,321 user.py 69 INFO user create start...... 2018-03-04 03:38:32,417 user.py 85 INFO create project...... 2018-03-04 03:38:32,514 user.py 95 INFO test project 2018-03-04 03:38:32,620 user.py 103 INFO create user...... 2018-03-04 03:38:32,970 user.py 113 INFO test user 2018-03-04 03:38:33,054 user.py 127 INFO role _member_ already created...... 2018-03-04 03:38:33,055 user.py 128 INFO test role 2018-03-04 03:38:33,720 user.py 77 INFO user create end...... 2018-03-04 03:38:33,721 main.py 97 INFO doctor fault management test starting....... 2018-03-04 03:38:33,721 user.py 181 INFO user quota update start...... 2018-03-04 03:38:34,774 user.py 197 INFO user quota update end...... 2018-03-04 03:38:34,774 network.py 41 INFO network create start....... 2018-03-04 03:38:35,915 network.py 47 INFO network create end....... 2018-03-04 03:38:35,915 network.py 49 INFO subnet create start....... 2018-03-04 03:38:36,599 network.py 58 INFO subnet create end....... 2018-03-04 03:38:36,600 instance.py 51 INFO instance create start...... 2018-03-04 03:38:38,678 instance.py 73 INFO instance create end...... 2018-03-04 03:38:38,679 instance.py 92 INFO wait for vm launch start...... 2018-03-04 03:38:48,539 instance.py 110 INFO wait for vm launch end...... 2018-03-04 03:38:48,539 alarm.py 45 INFO alarm create start...... 2018-03-04 03:38:50,477 alarm.py 81 INFO alarm create end...... 2018-03-04 03:38:50,477 sample.py 72 INFO sample inspector start...... 2018-03-04 03:38:51,382 sample.py 26 INFO sample consumer start...... * Running on http://0.0.0.0:12346/ (Press CTRL+C to quit) * Running on http://0.0.0.0:12345/ (Press CTRL+C to quit) 2018-03-04 03:38:52,220 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-04 03:38:55,657 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-04 03:38:55,657 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-03-04 03:38:55,658 sample.py 30 INFO sample monitor start...... 2018-03-04 03:38:55,659 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-04 03:40:55,691 network_failure.py 39 INFO fault inject start...... 2018-03-04 03:40:55,693 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 03:40:55,693 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.7: b'a6e5633572895484a9d5a07c950efb50' key.get_fingerprint()))) 2018-03-04 03:40:55,767 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-04 03:40:55,950 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-04 03:40:55,999 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-04 03:40:56,000 network_failure.py 42 INFO fault inject end...... 2018-03-04 03:40:57,197 sample.py 97 INFO doctor monitor detected at 1520134857.196947 2018-03-04 03:40:57,197 sample.py 41 INFO sample monitor report error...... 2018-03-04 03:40:57,205 sample.py 163 INFO event posted in sample inspector at 1520134857.2052474 2018-03-04 03:40:57,205 sample.py 164 INFO sample inspector = 2018-03-04 03:40:57,206 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-04T03:40:57.197504", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-04 03:40:57,264 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520134857.2648432 2018-03-04 03:40:57,351 sample.py 121 INFO doctor mark vm() error at 1520134857.3514733 127.0.0.1 - - [04/Mar/2018 03:40:57] "PUT /events HTTP/1.1" 200 - 2018-03-04 03:40:57,354 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-04 03:40:57,489 sample.py 57 INFO doctor consumer notified at 1520134857.4892135 2018-03-04 03:40:57,489 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '4105bfdb-8ca0-43cd-a3a8-e10ae09f4fac', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '2f0b365e-9b1f-4bd6-86e1-1c82d41f33d6'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 64], ['user_id', 1, 'cf29de9ef85b4623a3315f28d41e18ef'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'dfa636955aea41318590ecda01cbf1fa'], ['launched_at', 4, '2018-03-04T03:32:58'], ['disk_gb', 2, 1], ['instance_id', 1, '2f0b365e-9b1f-4bd6-86e1-1c82d41f33d6'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'dfa636955aea41318590ecda01cbf1fa'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-ac94ea74-0d4a-4405-9c5a-315a899fff7e']], 'message_signature': 'bd25ad6a394eb23dd978d7fcdf1bb169b2b2e5b02bc30b2917724547981426f6', 'raw': {}, 'generated': '2018-03-04T03:40:57.343028', 'message_id': '1f3de6c4-8e82-4954-aebf-37259194a11c'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [04/Mar/2018 03:40:57] "POST /failure HTTP/1.1" 200 - 2018-03-04 03:41:06,065 main.py 121 INFO doctor fault management test successfully, notification_time=0.2922663688659668 2018-03-04 03:41:06,065 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-04 03:41:06,065 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-04 03:41:06,066 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-04 03:41:07,133 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-04 03:41:07,295 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.7) 2018-03-04 03:41:07,295 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-04 03:41:07,306 profiler_poc.py 97 INFO Total time cost: 345542(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |345250 |68 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:345250| | | | | | | | found affected:? | | | | | | | set VM error:345404| | | | | | marked host down:345318| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:345542 2018-03-04 03:41:09,413 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [04/Mar/2018 03:41:09] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-04 03:41:09,456 sample.py 35 INFO sample monitor stop...... 2018-03-04 03:41:09,456 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-04 03:41:09,456 sample.py 31 INFO sample consumer stop...... 2018-03-04 03:41:09,461 sample.py 64 INFO shutdown consumer app server at 1520134869.461515 127.0.0.1 - - [04/Mar/2018 03:41:09] "POST /shutdown HTTP/1.1" 200 - 2018-03-04 03:41:09,463 alarm.py 84 INFO alarm delete start....... 2018-03-04 03:41:09,503 alarm.py 93 INFO alarm delete end....... 2018-03-04 03:41:09,504 instance.py 76 INFO instance delete start....... 2018-03-04 03:41:11,877 instance.py 89 INFO instance delete end....... 2018-03-04 03:41:11,877 network.py 61 INFO subnet delete start....... 2018-03-04 03:41:12,308 network.py 64 INFO subnet delete end....... 2018-03-04 03:41:12,308 network.py 66 INFO network delete start....... 2018-03-04 03:41:13,021 network.py 69 INFO network delete end....... 2018-03-04 03:41:13,021 network_failure.py 45 INFO fault inject cleanup...... 2018-03-04 03:41:13,021 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-04 03:41:13,021 apex.py 127 INFO restore apply patches start...... 2018-03-04 03:41:14,209 image.py 71 INFO image delete start....... 2018-03-04 03:41:15,871 image.py 76 INFO image delete end....... 2018-03-04 03:41:15,871 user.py 156 INFO user delete start...... 2018-03-04 03:41:16,440 user.py 178 INFO user delete end...... 2018-03-04 03:41:16,451 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-04 03:41:16,451 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-04 04:11:34,401 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'