/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.133: b'c6f28584bbb6053ec2b3bdd8ff7abef7' key.get_fingerprint()))) 2018-03-24 09:46:21,291 main.py 160 INFO doctor test starting....... 2018-03-24 09:46:21,292 apex.py 38 INFO Setup Apex installer start...... 2018-03-24 09:46:21,292 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-24 09:46:21,342 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-24 09:46:25,197 apex.py 80 INFO Get controller_ips:['192.30.9.8', '192.30.9.4', '192.30.9.3'] from Apex installer 2018-03-24 09:46:25,857 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.8: b'cf8390f7cbb0e8fc5cbd7c279654f9c1' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.4: b'358a355ca5f06cfecf67cc7eb7726a73' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.3: b'ef90b0b3a43803a071c3866bbf472f08' key.get_fingerprint()))) 2018-03-24 09:46:43,136 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-24 09:46:43,152 image.py 48 INFO image create start...... 2018-03-24 09:46:49,160 image.py 68 INFO image create end...... 2018-03-24 09:46:49,161 user.py 69 INFO user create start...... 2018-03-24 09:46:49,250 user.py 85 INFO create project...... 2018-03-24 09:46:49,357 user.py 95 INFO test project 2018-03-24 09:46:49,457 user.py 103 INFO create user...... 2018-03-24 09:46:49,800 user.py 113 INFO test user 2018-03-24 09:46:49,887 user.py 127 INFO role _member_ already created...... 2018-03-24 09:46:49,887 user.py 128 INFO test role 2018-03-24 09:46:50,378 user.py 77 INFO user create end...... 2018-03-24 09:46:50,378 main.py 96 INFO doctor fault management test starting....... 2018-03-24 09:46:50,379 user.py 181 INFO user quota update start...... 2018-03-24 09:46:51,076 user.py 197 INFO user quota update end...... 2018-03-24 09:46:51,076 network.py 41 INFO network create start....... 2018-03-24 09:46:52,277 network.py 47 INFO network create end....... 2018-03-24 09:46:52,278 network.py 49 INFO subnet create start....... 2018-03-24 09:46:53,445 network.py 58 INFO subnet create end....... 2018-03-24 09:46:53,445 instance.py 51 INFO instance create start...... 2018-03-24 09:46:56,639 instance.py 73 INFO instance create end...... 2018-03-24 09:46:56,639 instance.py 92 INFO wait for vm launch start...... 2018-03-24 09:47:01,842 instance.py 110 INFO wait for vm launch end...... 2018-03-24 09:47:01,843 alarm.py 45 INFO alarm create start...... 2018-03-24 09:47:04,559 alarm.py 81 INFO alarm create end...... 2018-03-24 09:47:04,559 sample.py 72 INFO sample inspector start...... 2018-03-24 09:47:05,768 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-24 09:47:07,149 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-24 09:47:11,655 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-24 09:47:11,656 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.10) which vm(doctor_vm0) launched at 2018-03-24 09:47:11,656 sample.py 30 INFO sample monitor start...... 2018-03-24 09:47:11,657 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-24 09:49:11,757 network_failure.py 39 INFO fault inject start...... 2018-03-24 09:49:11,760 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-24 09:49:11,760 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.10: b'c2f47bb0e9dbdc58305d686a5f4a60e0' key.get_fingerprint()))) 2018-03-24 09:49:11,840 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-24 09:49:12,054 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-24 09:49:12,103 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-24 09:49:12,105 network_failure.py 42 INFO fault inject end...... 2018-03-24 09:49:13,238 sample.py 97 INFO doctor monitor detected at 1521884953.2386563 2018-03-24 09:49:13,239 sample.py 41 INFO sample monitor report error...... 2018-03-24 09:49:13,259 sample.py 163 INFO event posted in sample inspector at 1521884953.2591066 2018-03-24 09:49:13,259 sample.py 164 INFO sample inspector = 2018-03-24 09:49:13,260 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-24T09:49:13.239408", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-24 09:49:13,318 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521884953.3180573 2018-03-24 09:49:13,421 sample.py 121 INFO doctor mark vm() error at 1521884953.42106 127.0.0.1 - - [24/Mar/2018 09:49:13] "PUT /events HTTP/1.1" 200 - 2018-03-24 09:49:13,424 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-24 09:49:13,581 sample.py 57 INFO doctor consumer notified at 1521884953.5811124 2018-03-24 09:49:13,581 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '088be66b-ad12-4451-ba09-82bbde4165a5', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'a676a34f-f8ab-46cb-9828-788ffdfbfa12'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 242], ['user_id', 1, 'a21379b0f54f4ed0b1996f1bd07e8eed'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, 'ef64617d3cb54c7392b94e4d4c64691f'], ['launched_at', 4, '2018-03-24T09:40:50'], ['disk_gb', 2, 1], ['instance_id', 1, 'a676a34f-f8ab-46cb-9828-788ffdfbfa12'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, 'ef64617d3cb54c7392b94e4d4c64691f'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-66b3ee02-14dc-4a1c-bd5a-60207d527d39']], 'message_signature': 'e0640e2587467a8f54e112bdd903997a0d02045ac2353879b924dd270c1a6261', 'raw': {}, 'generated': '2018-03-24T09:49:13.408961', 'message_id': '5f89fc70-3569-40d8-ac91-346e2bf998e7'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [24/Mar/2018 09:49:13] "POST /failure HTTP/1.1" 200 - 2018-03-24 09:49:22,179 main.py 120 INFO doctor fault management test successfully, notification_time=0.3424561023712158 2018-03-24 09:49:22,180 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-24 09:49:22,181 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-24 09:49:22,181 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-24 09:49:23,252 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-24 09:49:23,416 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.10) 2018-03-24 09:49:23,416 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-24 09:49:23,423 profiler_poc.py 97 INFO Total time cost: 370919(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |370577 |79 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:370577| | | | | | | | found affected:? | | | | | | | set VM error:370759| | | | | | marked host down:370656| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:370919 2018-03-24 09:49:25,539 sample.py 78 INFO sample inspector stop...... 2018-03-24 09:49:25,586 sample.py 173 INFO shutdown inspector app server at 1521884965.5868373 127.0.0.1 - - [24/Mar/2018 09:49:25] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-24 09:49:25,589 sample.py 35 INFO sample monitor stop...... 2018-03-24 09:49:25,589 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-03-24 09:49:25,590 sample.py 31 INFO sample consumer stop...... 2018-03-24 09:49:25,594 sample.py 64 INFO shutdown consumer app server at 1521884965.5947702 127.0.0.1 - - [24/Mar/2018 09:49:25] "POST /shutdown HTTP/1.1" 200 - 2018-03-24 09:49:25,597 alarm.py 84 INFO alarm delete start....... 2018-03-24 09:49:26,355 alarm.py 93 INFO alarm delete end....... 2018-03-24 09:49:26,355 instance.py 76 INFO instance delete start....... 2018-03-24 09:50:26,041 instance.py 89 INFO instance delete end....... 2018-03-24 09:50:26,041 network.py 61 INFO subnet delete start....... 2018-03-24 09:50:26,579 network.py 64 INFO subnet delete end....... 2018-03-24 09:50:26,580 network.py 66 INFO network delete start....... 2018-03-24 09:50:27,499 network.py 69 INFO network delete end....... 2018-03-24 09:50:27,499 network_failure.py 45 INFO fault inject cleanup...... 2018-03-24 09:50:27,499 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-24 09:50:27,499 apex.py 127 INFO restore apply patches start...... 2018-03-24 09:50:30,698 image.py 71 INFO image delete start....... 2018-03-24 09:50:32,052 image.py 76 INFO image delete end....... 2018-03-24 09:50:32,052 user.py 156 INFO user delete start...... 2018-03-24 09:50:32,678 user.py 178 INFO user delete end...... Total time cost: 370919(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |370577 |79 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:370577| | | | | | | | found affected:? | | | | | | | set VM error:370759| | | | | | marked host down:370656| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:370919 2018-03-24 09:50:32,844 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-24 10:33:09,669 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/bgpvpn.log'