/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.193: b'0d11742e0c50eddba142907fee9d9a49' key.get_fingerprint()))) 2018-03-14 15:43:23,173 main.py 160 INFO doctor test starting....... 2018-03-14 15:43:23,173 apex.py 38 INFO Setup Apex installer start...... 2018-03-14 15:43:23,174 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 15:43:23,232 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-14 15:43:27,016 apex.py 80 INFO Get controller_ips:['192.30.9.3'] from Apex installer 2018-03-14 15:43:27,883 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.3: b'cfa618330cddef17055e14091997e3eb' key.get_fingerprint()))) 2018-03-14 15:43:28,481 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-14 15:43:28,488 image.py 48 INFO image create start...... 2018-03-14 15:43:37,792 image.py 68 INFO image create end...... 2018-03-14 15:43:37,793 user.py 69 INFO user create start...... 2018-03-14 15:43:37,885 user.py 85 INFO create project...... 2018-03-14 15:43:37,977 user.py 95 INFO test project 2018-03-14 15:43:38,073 user.py 103 INFO create user...... 2018-03-14 15:43:38,354 user.py 113 INFO test user 2018-03-14 15:43:38,433 user.py 127 INFO role _member_ already created...... 2018-03-14 15:43:38,434 user.py 128 INFO test role 2018-03-14 15:43:39,538 user.py 77 INFO user create end...... 2018-03-14 15:43:39,539 main.py 96 INFO doctor fault management test starting....... 2018-03-14 15:43:39,539 user.py 181 INFO user quota update start...... 2018-03-14 15:43:40,598 user.py 197 INFO user quota update end...... 2018-03-14 15:43:40,599 network.py 41 INFO network create start....... 2018-03-14 15:43:42,098 network.py 47 INFO network create end....... 2018-03-14 15:43:42,099 network.py 49 INFO subnet create start....... 2018-03-14 15:43:42,792 network.py 58 INFO subnet create end....... 2018-03-14 15:43:42,792 instance.py 51 INFO instance create start...... 2018-03-14 15:43:44,714 instance.py 73 INFO instance create end...... 2018-03-14 15:43:44,714 instance.py 92 INFO wait for vm launch start...... 2018-03-14 15:43:59,687 instance.py 110 INFO wait for vm launch end...... 2018-03-14 15:43:59,688 alarm.py 45 INFO alarm create start...... 2018-03-14 15:44:01,332 alarm.py 81 INFO alarm create end...... 2018-03-14 15:44:01,332 sample.py 72 INFO sample inspector start...... 2018-03-14 15:44:02,661 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 15:44:03,501 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-14 15:44:07,425 apex.py 95 INFO Get host_ip:['192.30.9.6'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-14 15:44:07,426 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-03-14 15:44:07,427 sample.py 30 INFO sample monitor start...... 2018-03-14 15:44:07,427 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-14 15:46:07,487 network_failure.py 39 INFO fault inject start...... 2018-03-14 15:46:07,489 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 15:46:07,489 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'3e85d59861a6dc4bc23b41f8aa8353cb' key.get_fingerprint()))) 2018-03-14 15:46:07,561 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-14 15:46:07,731 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-14 15:46:07,781 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-14 15:46:07,782 network_failure.py 42 INFO fault inject end...... 2018-03-14 15:46:08,975 sample.py 97 INFO doctor monitor detected at 1521042368.9758537 2018-03-14 15:46:08,976 sample.py 41 INFO sample monitor report error...... 2018-03-14 15:46:08,984 sample.py 163 INFO event posted in sample inspector at 1521042368.9842663 2018-03-14 15:46:08,984 sample.py 164 INFO sample inspector = 2018-03-14 15:46:08,985 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-14T15:46:08.976359", "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 15:46:09,339 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521042369.3396935 2018-03-14 15:46:09,449 sample.py 121 INFO doctor mark vm() error at 1521042369.4493928 127.0.0.1 - - [14/Mar/2018 15:46:09] "PUT /events HTTP/1.1" 200 - 2018-03-14 15:46:09,452 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-14 15:46:09,612 sample.py 57 INFO doctor consumer notified at 1521042369.6123264 2018-03-14 15:46:09,612 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '8dd21e85-b576-4bcd-8ecb-b2d28eccedcb', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '2547ef2e-8b6c-4e69-9f4f-43195b9cb400'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 28], ['user_id', 1, 'ec086c9a6cf740938c0bef9eb770d8ab'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '239294bd7c9e495782177d7b0d82c3af'], ['launched_at', 4, '2018-03-14T15:37:41'], ['disk_gb', 2, 1], ['instance_id', 1, '2547ef2e-8b6c-4e69-9f4f-43195b9cb400'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '239294bd7c9e495782177d7b0d82c3af'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-84f6e4a6-6d7d-4cfe-9b9a-ed9d45379d77']], 'message_signature': 'c6d56824adcfb79fbb7dbf9f226d53ab19952e6172b45e912f041aa0584d3943', 'raw': {}, 'generated': '2018-03-14T15:46:09.427509', 'message_id': '62c49510-89c1-4dec-ba0b-3cd1dabe5905'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [14/Mar/2018 15:46:09] "POST /failure HTTP/1.1" 200 - 2018-03-14 15:46:17,845 main.py 120 INFO doctor fault management test successfully, notification_time=0.6364727020263672 2018-03-14 15:46:17,845 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-14 15:46:17,845 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 15:46:17,845 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-14 15:46:18,914 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-14 15:46:19,081 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-14 15:46:19,082 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-14 15:46:19,093 profiler_poc.py 97 INFO Total time cost: 374090(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |373454 |364 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:373454| | | | | | | | found affected:? | | | | | | | set VM error:373927| | | | | | marked host down:373818| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:374090 2018-03-14 15:46:21,216 sample.py 78 INFO sample inspector stop...... 2018-03-14 15:46:21,258 sample.py 173 INFO shutdown inspector app server at 1521042381.2586846 127.0.0.1 - - [14/Mar/2018 15:46:21] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-14 15:46:21,261 sample.py 35 INFO sample monitor stop...... 2018-03-14 15:46:21,261 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-03-14 15:46:21,262 sample.py 31 INFO sample consumer stop...... 2018-03-14 15:46:21,266 sample.py 64 INFO shutdown consumer app server at 1521042381.2665298 127.0.0.1 - - [14/Mar/2018 15:46:21] "POST /shutdown HTTP/1.1" 200 - 2018-03-14 15:46:21,269 alarm.py 84 INFO alarm delete start....... 2018-03-14 15:46:21,354 alarm.py 93 INFO alarm delete end....... 2018-03-14 15:46:21,354 instance.py 76 INFO instance delete start....... 2018-03-14 15:47:23,462 instance.py 89 INFO instance delete end....... 2018-03-14 15:47:23,463 network.py 61 INFO subnet delete start....... 2018-03-14 15:47:24,266 network.py 64 INFO subnet delete end....... 2018-03-14 15:47:24,267 network.py 66 INFO network delete start....... 2018-03-14 15:47:24,824 network.py 69 INFO network delete end....... 2018-03-14 15:47:24,824 network_failure.py 45 INFO fault inject cleanup...... 2018-03-14 15:47:24,824 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-14 15:47:24,824 apex.py 127 INFO restore apply patches start...... 2018-03-14 15:47:26,010 image.py 71 INFO image delete start....... 2018-03-14 15:47:28,269 image.py 76 INFO image delete end....... 2018-03-14 15:47:28,269 user.py 156 INFO user delete start...... 2018-03-14 15:47:28,893 user.py 178 INFO user delete end...... Total time cost: 374090(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |373454 |364 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:373454| | | | | | | | found affected:? | | | | | | | set VM error:373927| | | | | | marked host down:373818| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:374090 2018-03-14 15:47:29,041 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-14 16:25:33,757 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'