/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.170: b'8af7d301fe664f8588ea1680a7966798' key.get_fingerprint()))) 2018-03-05 09:27:29,074 main.py 161 INFO doctor test starting....... 2018-03-05 09:27:29,074 apex.py 38 INFO Setup Apex installer start...... 2018-03-05 09:27:29,074 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 09:27:29,117 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-05 09:27:33,073 apex.py 80 INFO Get controller_ips:['192.30.9.6'] from Apex installer 2018-03-05 09:27:33,673 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'c1b82e8fd1a0e340867c7da9a36c9053' key.get_fingerprint()))) 2018-03-05 09:27:38,723 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-05 09:27:38,728 image.py 48 INFO image create start...... 2018-03-05 09:27:44,045 image.py 68 INFO image create end...... 2018-03-05 09:27:44,046 user.py 69 INFO user create start...... 2018-03-05 09:27:44,138 user.py 85 INFO create project...... 2018-03-05 09:27:44,246 user.py 95 INFO test project 2018-03-05 09:27:44,345 user.py 103 INFO create user...... 2018-03-05 09:27:44,708 user.py 113 INFO test user 2018-03-05 09:27:44,790 user.py 127 INFO role _member_ already created...... 2018-03-05 09:27:44,790 user.py 128 INFO test role 2018-03-05 09:27:45,369 user.py 77 INFO user create end...... 2018-03-05 09:27:45,370 main.py 97 INFO doctor fault management test starting....... 2018-03-05 09:27:45,370 user.py 181 INFO user quota update start...... 2018-03-05 09:27:46,510 user.py 197 INFO user quota update end...... 2018-03-05 09:27:46,511 network.py 41 INFO network create start....... 2018-03-05 09:27:47,654 network.py 47 INFO network create end....... 2018-03-05 09:27:47,655 network.py 49 INFO subnet create start....... 2018-03-05 09:27:48,210 network.py 58 INFO subnet create end....... 2018-03-05 09:27:48,210 instance.py 51 INFO instance create start...... 2018-03-05 09:27:50,419 instance.py 73 INFO instance create end...... 2018-03-05 09:27:50,420 instance.py 92 INFO wait for vm launch start...... 2018-03-05 09:27:59,588 instance.py 110 INFO wait for vm launch end...... 2018-03-05 09:27:59,589 alarm.py 45 INFO alarm create start...... 2018-03-05 09:28:01,592 alarm.py 81 INFO alarm create end...... 2018-03-05 09:28:01,593 sample.py 72 INFO sample inspector start...... 2018-03-05 09:28:02,629 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-05 09:28:03,640 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-05 09:28:07,678 apex.py 95 INFO Get host_ip:['192.30.9.4'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-05 09:28:07,679 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.4) which vm(doctor_vm0) launched at 2018-03-05 09:28:07,680 sample.py 30 INFO sample monitor start...... 2018-03-05 09:28:07,680 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2018-03-05 09:30:07,730 network_failure.py 39 INFO fault inject start...... 2018-03-05 09:30:07,731 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 09:30:07,731 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'8705474ee789b3e60285a1103e5337ef' key.get_fingerprint()))) 2018-03-05 09:30:07,811 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-05 09:30:08,017 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-05 09:30:08,067 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-05 09:30:08,068 network_failure.py 42 INFO fault inject end...... 2018-03-05 09:30:09,239 sample.py 97 INFO doctor monitor detected at 1520242209.2398229 2018-03-05 09:30:09,240 sample.py 41 INFO sample monitor report error...... 2018-03-05 09:30:09,248 sample.py 163 INFO event posted in sample inspector at 1520242209.2483068 2018-03-05 09:30:09,248 sample.py 164 INFO sample inspector = 2018-03-05 09:30:09,249 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-05T09:30:09.240338", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-05 09:30:09,296 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520242209.2960649 2018-03-05 09:30:09,391 sample.py 121 INFO doctor mark vm() error at 1520242209.3910348 127.0.0.1 - - [05/Mar/2018 09:30:09] "PUT /events HTTP/1.1" 200 - 2018-03-05 09:30:09,394 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-05 09:30:09,481 sample.py 57 INFO doctor consumer notified at 1520242209.481561 2018-03-05 09:30:09,482 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '29f062d0-dd88-4ebe-b7e7-934df7110c16', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '8dcf3515-1317-4fce-bcf4-fc092d48b9b1'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '3c9f85cf00014dec95743b129b27149b'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '8bdc53e4c9fd4a32a0ea73f518cd87f0'], ['launched_at', 4, '2018-03-05T09:21:53'], ['disk_gb', 2, 1], ['instance_id', 1, '8dcf3515-1317-4fce-bcf4-fc092d48b9b1'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '8bdc53e4c9fd4a32a0ea73f518cd87f0'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-a26871ab-09d6-4355-9e4c-99e3847adbea']], 'message_signature': '2c61a963cc4ec7b01cf13256fb6e60eca719bd8ccfe6528e7e69c04cb9b7a5fc', 'raw': {}, 'generated': '2018-03-05T09:30:09.377615', 'message_id': 'a1ed3584-452b-42a7-ad4c-ad87b1dfc5b3'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [05/Mar/2018 09:30:09] "POST /failure HTTP/1.1" 200 - 2018-03-05 09:30:18,133 main.py 121 INFO doctor fault management test successfully, notification_time=0.24173808097839355 2018-03-05 09:30:18,133 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-05 09:30:18,134 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-05 09:30:18,134 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-05 09:30:19,225 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-05 09:30:19,398 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-05 09:30:19,399 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-05 09:30:19,410 profiler_poc.py 97 INFO Total time cost: 362172(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |361930 |56 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:361930| | | | | | | | found affected:? | | | | | | | set VM error:362081| | | | | | marked host down:361986| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:362172 2018-03-05 09:30:21,514 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [05/Mar/2018 09:30:21] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-05 09:30:21,570 sample.py 35 INFO sample monitor stop...... 2018-03-05 09:30:21,570 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2018-03-05 09:30:21,570 sample.py 31 INFO sample consumer stop...... 2018-03-05 09:30:21,575 sample.py 64 INFO shutdown consumer app server at 1520242221.5753376 127.0.0.1 - - [05/Mar/2018 09:30:21] "POST /shutdown HTTP/1.1" 200 - 2018-03-05 09:30:21,577 alarm.py 84 INFO alarm delete start....... 2018-03-05 09:30:21,637 alarm.py 93 INFO alarm delete end....... 2018-03-05 09:30:21,637 instance.py 76 INFO instance delete start....... 2018-03-05 09:30:23,850 instance.py 89 INFO instance delete end....... 2018-03-05 09:30:23,851 network.py 61 INFO subnet delete start....... 2018-03-05 09:30:24,402 network.py 64 INFO subnet delete end....... 2018-03-05 09:30:24,402 network.py 66 INFO network delete start....... 2018-03-05 09:30:25,202 network.py 69 INFO network delete end....... 2018-03-05 09:30:25,202 network_failure.py 45 INFO fault inject cleanup...... 2018-03-05 09:30:25,202 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-05 09:30:25,203 apex.py 127 INFO restore apply patches start...... 2018-03-05 09:30:26,395 image.py 71 INFO image delete start....... 2018-03-05 09:30:28,114 image.py 76 INFO image delete end....... 2018-03-05 09:30:28,114 user.py 156 INFO user delete start...... 2018-03-05 09:30:28,616 user.py 178 INFO user delete end...... 2018-03-05 09:30:28,626 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-05 09:30:28,627 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'