/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.47: b'081f7e281e3243fb2632c881b359fd2e' key.get_fingerprint()))) 2018-03-03 10:09:19,848 main.py 161 INFO doctor test starting....... 2018-03-03 10:09:19,849 apex.py 38 INFO Setup Apex installer start...... 2018-03-03 10:09:19,849 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-03 10:09:19,900 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-03 10:09:24,262 apex.py 80 INFO Get controller_ips:['192.30.9.7'] from Apex installer 2018-03-03 10:09:24,869 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.7: b'cac1f1816bb0a90167e02092cc04b3d6' key.get_fingerprint()))) 2018-03-03 10:09:29,251 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-03 10:09:29,257 image.py 48 INFO image create start...... 2018-03-03 10:09:33,859 image.py 68 INFO image create end...... 2018-03-03 10:09:33,860 user.py 69 INFO user create start...... 2018-03-03 10:09:33,949 user.py 85 INFO create project...... 2018-03-03 10:09:34,049 user.py 95 INFO test project 2018-03-03 10:09:34,145 user.py 103 INFO create user...... 2018-03-03 10:09:34,439 user.py 113 INFO test user 2018-03-03 10:09:34,516 user.py 127 INFO role _member_ already created...... 2018-03-03 10:09:34,516 user.py 128 INFO test role 2018-03-03 10:09:35,073 user.py 77 INFO user create end...... 2018-03-03 10:09:35,074 main.py 97 INFO doctor fault management test starting....... 2018-03-03 10:09:35,074 user.py 181 INFO user quota update start...... 2018-03-03 10:09:35,762 user.py 197 INFO user quota update end...... 2018-03-03 10:09:35,762 network.py 41 INFO network create start....... 2018-03-03 10:09:36,914 network.py 47 INFO network create end....... 2018-03-03 10:09:36,915 network.py 49 INFO subnet create start....... 2018-03-03 10:09:37,413 network.py 58 INFO subnet create end....... 2018-03-03 10:09:37,414 instance.py 51 INFO instance create start...... 2018-03-03 10:09:39,344 instance.py 73 INFO instance create end...... 2018-03-03 10:09:39,345 instance.py 92 INFO wait for vm launch start...... 2018-03-03 10:09:48,177 instance.py 110 INFO wait for vm launch end...... 2018-03-03 10:09:48,177 alarm.py 45 INFO alarm create start...... 2018-03-03 10:09:49,636 alarm.py 81 INFO alarm create end...... 2018-03-03 10:09:49,637 sample.py 72 INFO sample inspector start...... 2018-03-03 10:09:50,494 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-03 10:09:51,615 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-03 10:09:55,856 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-03 10:09:55,856 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-03 10:09:55,857 sample.py 30 INFO sample monitor start...... 2018-03-03 10:09:55,858 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-03 10:11:55,946 network_failure.py 39 INFO fault inject start...... 2018-03-03 10:11:55,948 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-03 10:11:55,948 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.6: b'8ef6dfd3b7808cb27fa6ec5154fa54d7' key.get_fingerprint()))) 2018-03-03 10:11:56,025 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-03 10:11:56,210 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-03 10:11:56,261 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-03 10:11:56,262 network_failure.py 42 INFO fault inject end...... 2018-03-03 10:11:57,398 sample.py 97 INFO doctor monitor detected at 1520071917.3986728 2018-03-03 10:11:57,399 sample.py 41 INFO sample monitor report error...... 2018-03-03 10:11:57,407 sample.py 163 INFO event posted in sample inspector at 1520071917.4074435 2018-03-03 10:11:57,407 sample.py 164 INFO sample inspector = 2018-03-03 10:11:57,408 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-03T10:11:57.399243", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-03 10:11:57,463 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520071917.4630637 2018-03-03 10:11:57,561 sample.py 121 INFO doctor mark vm() error at 1520071917.5609634 127.0.0.1 - - [03/Mar/2018 10:11:57] "PUT /events HTTP/1.1" 200 - 2018-03-03 10:11:57,563 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-03 10:11:57,646 sample.py 57 INFO doctor consumer notified at 1520071917.646279 2018-03-03 10:11:57,646 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'd5e5b96b-721b-48d3-8604-8ac944fc8c12', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '257800ba-bdc5-4084-875b-e315e5665ff8'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 65], ['user_id', 1, '317be7f4dab8431ca7302f019b15c0df'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '848df87c18c34692958109b01914181a'], ['launched_at', 4, '2018-03-03T10:04:00'], ['disk_gb', 2, 1], ['instance_id', 1, '257800ba-bdc5-4084-875b-e315e5665ff8'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '848df87c18c34692958109b01914181a'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-cace568b-a3be-4dd2-86b1-689d5e36e1be']], 'message_signature': '410283719c7ec3eb2beb8bb48eb3bb7c888f9c65cb00735b2bea1174174e245f', 'raw': {}, 'generated': '2018-03-03T10:11:57.540829', 'message_id': '38c9db71-1bb8-4943-a371-a22891879604'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [03/Mar/2018 10:11:57] "POST /failure HTTP/1.1" 200 - 2018-03-03 10:12:06,337 main.py 121 INFO doctor fault management test successfully, notification_time=0.2476062774658203 2018-03-03 10:12:06,338 main.py 128 INFO doctor fault management test begin to run profile....... 2018-03-03 10:12:06,338 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-03 10:12:06,338 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-03 10:12:07,407 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-03 10:12:07,566 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.6) 2018-03-03 10:12:07,566 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-03 10:12:07,576 profiler_poc.py 97 INFO Total time cost: 344105(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |343857 |65 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:343857| | | | | | | | found affected:? | | | | | | | set VM error:344020| | | | | | marked host down:343922| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:344105 2018-03-03 10:12:09,684 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [03/Mar/2018 10:12:09] "POST /events/shutdown HTTP/1.1" 404 - 2018-03-03 10:12:09,743 sample.py 35 INFO sample monitor stop...... 2018-03-03 10:12:09,743 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-03 10:12:09,744 sample.py 31 INFO sample consumer stop...... 2018-03-03 10:12:09,748 sample.py 64 INFO shutdown consumer app server at 1520071929.7487793 127.0.0.1 - - [03/Mar/2018 10:12:09] "POST /shutdown HTTP/1.1" 200 - 2018-03-03 10:12:09,751 alarm.py 84 INFO alarm delete start....... 2018-03-03 10:12:09,801 alarm.py 93 INFO alarm delete end....... 2018-03-03 10:12:09,802 instance.py 76 INFO instance delete start....... 2018-03-03 10:12:11,603 instance.py 89 INFO instance delete end....... 2018-03-03 10:12:11,603 network.py 61 INFO subnet delete start....... 2018-03-03 10:12:12,138 network.py 64 INFO subnet delete end....... 2018-03-03 10:12:12,138 network.py 66 INFO network delete start....... 2018-03-03 10:12:12,782 network.py 69 INFO network delete end....... 2018-03-03 10:12:12,782 network_failure.py 45 INFO fault inject cleanup...... 2018-03-03 10:12:12,783 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-03 10:12:12,783 apex.py 127 INFO restore apply patches start...... 2018-03-03 10:12:13,995 image.py 71 INFO image delete start....... 2018-03-03 10:12:15,496 image.py 76 INFO image delete end....... 2018-03-03 10:12:15,496 user.py 156 INFO user delete start...... 2018-03-03 10:12:16,040 user.py 178 INFO user delete end...... 2018-03-03 10:12:16,050 - xtesting.core.feature - ERROR - Execute command: doctor-test failed 2018-03-03 10:12:16,051 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'