/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.160: b'cdc5d29f9ab17cc1de7676ffed1e382d' key.get_fingerprint()))) 2018-03-14 05:45:30,616 main.py 160 INFO doctor test starting....... 2018-03-14 05:45:30,617 apex.py 38 INFO Setup Apex installer start...... 2018-03-14 05:45:30,617 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 05:45:30,664 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-14 05:45:34,733 apex.py 80 INFO Get controller_ips:['192.30.9.6'] from Apex installer 2018-03-14 05:45:35,319 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.6: b'05ac2ba56df914c2d181888ea00a370a' key.get_fingerprint()))) 2018-03-14 05:45:43,597 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-14 05:45:43,602 image.py 48 INFO image create start...... 2018-03-14 05:45:50,308 image.py 68 INFO image create end...... 2018-03-14 05:45:50,308 user.py 69 INFO user create start...... 2018-03-14 05:45:50,395 user.py 85 INFO create project...... 2018-03-14 05:45:50,492 user.py 95 INFO test project 2018-03-14 05:45:50,530 user.py 103 INFO create user...... 2018-03-14 05:45:50,864 user.py 113 INFO test user 2018-03-14 05:45:50,939 user.py 127 INFO role _member_ already created...... 2018-03-14 05:45:50,939 user.py 128 INFO test role 2018-03-14 05:45:51,501 user.py 77 INFO user create end...... 2018-03-14 05:45:51,502 main.py 96 INFO doctor fault management test starting....... 2018-03-14 05:45:51,502 user.py 181 INFO user quota update start...... 2018-03-14 05:45:52,219 user.py 197 INFO user quota update end...... 2018-03-14 05:45:52,219 network.py 41 INFO network create start....... 2018-03-14 05:45:53,230 network.py 47 INFO network create end....... 2018-03-14 05:45:53,230 network.py 49 INFO subnet create start....... 2018-03-14 05:45:53,912 network.py 58 INFO subnet create end....... 2018-03-14 05:45:53,912 instance.py 51 INFO instance create start...... 2018-03-14 05:45:55,931 instance.py 73 INFO instance create end...... 2018-03-14 05:45:55,931 instance.py 92 INFO wait for vm launch start...... 2018-03-14 05:46:00,704 instance.py 110 INFO wait for vm launch end...... 2018-03-14 05:46:00,704 alarm.py 45 INFO alarm create start...... 2018-03-14 05:46:02,689 alarm.py 81 INFO alarm create end...... 2018-03-14 05:46:02,689 sample.py 72 INFO sample inspector start...... 2018-03-14 05:46:04,424 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-14 05:46:05,304 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-14 05:46:09,490 apex.py 95 INFO Get host_ip:['192.30.9.7'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-14 05:46:09,490 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-03-14 05:46:09,491 sample.py 30 INFO sample monitor start...... 2018-03-14 05:46:09,492 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-14 05:48:09,570 network_failure.py 39 INFO fault inject start...... 2018-03-14 05:48:09,571 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 05:48:09,572 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'316fd8ebe71bdd5c03c0e11417f64610' key.get_fingerprint()))) 2018-03-14 05:48:09,645 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-14 05:48:09,837 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-14 05:48:09,887 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-14 05:48:09,888 network_failure.py 42 INFO fault inject end...... 2018-03-14 05:48:11,045 sample.py 97 INFO doctor monitor detected at 1521006491.0452948 2018-03-14 05:48:11,045 sample.py 41 INFO sample monitor report error...... 2018-03-14 05:48:11,053 sample.py 163 INFO event posted in sample inspector at 1521006491.0537827 2018-03-14 05:48:11,054 sample.py 164 INFO sample inspector = 2018-03-14 05:48:11,054 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-14T05:48:11.045872", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-14 05:48:11,131 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521006491.131299 2018-03-14 05:48:11,209 sample.py 121 INFO doctor mark vm() error at 1521006491.2092452 127.0.0.1 - - [14/Mar/2018 05:48:11] "PUT /events HTTP/1.1" 200 - 2018-03-14 05:48:11,212 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-14 05:48:11,443 sample.py 57 INFO doctor consumer notified at 1521006491.4433374 2018-03-14 05:48:11,443 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '6380d32a-732d-4c4b-b9d2-7e27c0ea94cd', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '8e39d47a-0b53-4bb3-8770-f191d2fdcf0c'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 27], ['user_id', 1, 'ffdfb25024f545d28cecee44240927bc'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '000d6df1af754f0ba7da381d6312b060'], ['launched_at', 4, '2018-03-14T05:40:01'], ['disk_gb', 2, 1], ['instance_id', 1, '8e39d47a-0b53-4bb3-8770-f191d2fdcf0c'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '000d6df1af754f0ba7da381d6312b060'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-7db31b57-1c03-46db-b7bf-5f65a03b592f']], 'message_signature': 'ccf2d4dc320563468c3764ed470fc3e0d6fb73cae1da28e515d2c008db31a478', 'raw': {}, 'generated': '2018-03-14T05:48:11.203943', 'message_id': '5248b662-f390-4c7b-be0c-f2561d5c2975'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [14/Mar/2018 05:48:11] "POST /failure HTTP/1.1" 200 - 2018-03-14 05:48:20,157 main.py 120 INFO doctor fault management test successfully, notification_time=0.3980426788330078 2018-03-14 05:48:20,157 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-14 05:48:20,157 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 05:48:20,158 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-14 05:48:21,075 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-14 05:48:21,244 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-14 05:48:21,245 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-14 05:48:21,254 profiler_poc.py 97 INFO Total time cost: 358561(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |358163 |86 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:358163| | | | | | | | found affected:? | | | | | | | set VM error:358327| | | | | | marked host down:358249| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:358561 2018-03-14 05:48:23,358 sample.py 78 INFO sample inspector stop...... 2018-03-14 05:48:23,630 sample.py 173 INFO shutdown inspector app server at 1521006503.6299872 127.0.0.1 - - [14/Mar/2018 05:48:23] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-14 05:48:23,632 sample.py 35 INFO sample monitor stop...... 2018-03-14 05:48:23,633 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-14 05:48:23,633 sample.py 31 INFO sample consumer stop...... 2018-03-14 05:48:23,637 sample.py 64 INFO shutdown consumer app server at 1521006503.6379523 127.0.0.1 - - [14/Mar/2018 05:48:23] "POST /shutdown HTTP/1.1" 200 - 2018-03-14 05:48:23,640 alarm.py 84 INFO alarm delete start....... 2018-03-14 05:48:23,727 alarm.py 93 INFO alarm delete end....... 2018-03-14 05:48:23,727 instance.py 76 INFO instance delete start....... 2018-03-14 05:48:26,419 instance.py 89 INFO instance delete end....... 2018-03-14 05:48:26,419 network.py 61 INFO subnet delete start....... 2018-03-14 05:48:27,087 network.py 64 INFO subnet delete end....... 2018-03-14 05:48:27,088 network.py 66 INFO network delete start....... 2018-03-14 05:48:27,796 network.py 69 INFO network delete end....... 2018-03-14 05:48:27,796 network_failure.py 45 INFO fault inject cleanup...... 2018-03-14 05:48:27,796 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-14 05:48:27,797 apex.py 127 INFO restore apply patches start...... 2018-03-14 05:48:29,015 image.py 71 INFO image delete start....... 2018-03-14 05:48:30,592 image.py 76 INFO image delete end....... 2018-03-14 05:48:30,593 user.py 156 INFO user delete start...... 2018-03-14 05:48:31,092 user.py 178 INFO user delete end...... Total time cost: 358561(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |358163 |86 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:358163| | | | | | | | found affected:? | | | | | | | set VM error:358327| | | | | | marked host down:358249| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:358561 2018-03-14 05:48:31,237 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-14 06:19:50,679 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'