/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.218: b'416217ab3343b63dd4908e484b8ed04a' key.get_fingerprint()))) 2018-03-14 10:54:56,897 main.py 160 INFO doctor test starting....... 2018-03-14 10:54:56,897 apex.py 38 INFO Setup Apex installer start...... 2018-03-14 10:54:56,897 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 10:54:56,935 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-14 10:55:00,502 apex.py 80 INFO Get controller_ips:['192.30.9.10', '192.30.9.8', '192.30.9.9'] from Apex installer 2018-03-14 10:55:01,125 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.10: b'63c9ce72ebed761bc31fa712dd7d2604' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.8: b'ed65614babc81977143963e2d0849778' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.9: b'e7d22c725bf551262f70f676e2dd958a' key.get_fingerprint()))) 2018-03-14 10:55:22,790 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-14 10:55:22,804 image.py 48 INFO image create start...... 2018-03-14 10:55:29,479 image.py 68 INFO image create end...... 2018-03-14 10:55:29,480 user.py 69 INFO user create start...... 2018-03-14 10:55:29,569 user.py 85 INFO create project...... 2018-03-14 10:55:29,627 user.py 95 INFO test project 2018-03-14 10:55:29,732 user.py 103 INFO create user...... 2018-03-14 10:55:30,028 user.py 113 INFO test user 2018-03-14 10:55:30,111 user.py 127 INFO role _member_ already created...... 2018-03-14 10:55:30,112 user.py 128 INFO test role 2018-03-14 10:55:30,942 user.py 77 INFO user create end...... 2018-03-14 10:55:30,943 main.py 96 INFO doctor fault management test starting....... 2018-03-14 10:55:30,943 user.py 181 INFO user quota update start...... 2018-03-14 10:55:31,719 user.py 197 INFO user quota update end...... 2018-03-14 10:55:31,720 network.py 41 INFO network create start....... 2018-03-14 10:55:32,853 network.py 47 INFO network create end....... 2018-03-14 10:55:32,853 network.py 49 INFO subnet create start....... 2018-03-14 10:55:33,733 network.py 58 INFO subnet create end....... 2018-03-14 10:55:33,733 instance.py 51 INFO instance create start...... 2018-03-14 10:55:37,184 instance.py 73 INFO instance create end...... 2018-03-14 10:55:37,184 instance.py 92 INFO wait for vm launch start...... 2018-03-14 10:55:52,214 instance.py 110 INFO wait for vm launch end...... 2018-03-14 10:55:52,214 alarm.py 45 INFO alarm create start...... 2018-03-14 10:55:55,479 alarm.py 81 INFO alarm create end...... 2018-03-14 10:55:55,479 sample.py 72 INFO sample inspector start...... 2018-03-14 10:55:56,843 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 10:55:58,173 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-14 10:56:02,191 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 10:56:02,192 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 10:56:02,192 sample.py 30 INFO sample monitor start...... 2018-03-14 10:56:02,193 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-14 10:58:02,285 network_failure.py 39 INFO fault inject start...... 2018-03-14 10:58:02,286 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 10:58:02,287 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'0185df347b39a5b2cd0a8c042a866135' key.get_fingerprint()))) 2018-03-14 10:58:02,359 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-14 10:58:02,542 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-14 10:58:02,591 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-14 10:58:02,592 network_failure.py 42 INFO fault inject end...... 2018-03-14 10:58:03,739 sample.py 97 INFO doctor monitor detected at 1521025083.739663 2018-03-14 10:58:03,740 sample.py 41 INFO sample monitor report error...... 2018-03-14 10:58:03,747 sample.py 163 INFO event posted in sample inspector at 1521025083.747876 2018-03-14 10:58:03,748 sample.py 164 INFO sample inspector = 2018-03-14 10:58:03,748 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-14T10:58:03.740195", "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 10:58:03,833 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1521025083.8329918 2018-03-14 10:58:03,907 sample.py 121 INFO doctor mark vm() error at 1521025083.9074306 127.0.0.1 - - [14/Mar/2018 10:58:03] "PUT /events HTTP/1.1" 200 - 2018-03-14 10:58:03,910 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-14 10:58:04,062 sample.py 57 INFO doctor consumer notified at 1521025084.0625956 2018-03-14 10:58:04,063 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '4854c7f1-7d5b-406f-a03c-5b6a8713206c', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '62f96aa6-e21e-4d48-a635-5659fb5bf9fa'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 83], ['user_id', 1, '72b8cb5119ae4cb59dce0d9a86269472'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '193b4185b034436e8f4df2fe5a493924'], ['launched_at', 4, '2018-03-14T10:49:51'], ['disk_gb', 2, 1], ['instance_id', 1, '62f96aa6-e21e-4d48-a635-5659fb5bf9fa'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '193b4185b034436e8f4df2fe5a493924'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-3f6d07dc-21e4-4870-9d89-1d71dd890a1f']], 'message_signature': 'e96b53fb753622e1023271ade980f426506e471e28675f525313b864a9201482', 'raw': {}, 'generated': '2018-03-14T10:58:03.899645', 'message_id': '2264c969-2e46-4e01-ae6b-e7359b360781'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [14/Mar/2018 10:58:04] "POST /failure HTTP/1.1" 200 - 2018-03-14 10:58:12,673 main.py 120 INFO doctor fault management test successfully, notification_time=0.32293272018432617 2018-03-14 10:58:12,673 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-14 10:58:12,674 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-14 10:58:12,674 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-14 10:58:13,760 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-14 10:58:13,918 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 10:58:13,919 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-14 10:58:13,930 profiler_poc.py 97 INFO Total time cost: 359204(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |358881 |94 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:358881| | | | | | | | found affected:? | | | | | | | set VM error:359049| | | | | | marked host down:358975| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:359204 2018-03-14 10:58:16,066 sample.py 78 INFO sample inspector stop...... 2018-03-14 10:58:16,258 sample.py 173 INFO shutdown inspector app server at 1521025096.2585905 127.0.0.1 - - [14/Mar/2018 10:58:16] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-14 10:58:16,260 sample.py 35 INFO sample monitor stop...... 2018-03-14 10:58:16,261 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.7) 2018-03-14 10:58:16,261 sample.py 31 INFO sample consumer stop...... 2018-03-14 10:58:16,265 sample.py 64 INFO shutdown consumer app server at 1521025096.2658875 127.0.0.1 - - [14/Mar/2018 10:58:16] "POST /shutdown HTTP/1.1" 200 - 2018-03-14 10:58:16,268 alarm.py 84 INFO alarm delete start....... 2018-03-14 10:58:16,925 alarm.py 93 INFO alarm delete end....... 2018-03-14 10:58:16,925 instance.py 76 INFO instance delete start....... 2018-03-14 10:58:19,476 instance.py 89 INFO instance delete end....... 2018-03-14 10:58:19,477 network.py 61 INFO subnet delete start....... 2018-03-14 10:58:19,926 network.py 64 INFO subnet delete end....... 2018-03-14 10:58:19,926 network.py 66 INFO network delete start....... 2018-03-14 10:58:20,640 network.py 69 INFO network delete end....... 2018-03-14 10:58:20,640 network_failure.py 45 INFO fault inject cleanup...... 2018-03-14 10:58:20,641 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-14 10:58:20,641 apex.py 127 INFO restore apply patches start...... 2018-03-14 10:58:23,805 image.py 71 INFO image delete start....... 2018-03-14 10:58:26,459 image.py 76 INFO image delete end....... 2018-03-14 10:58:26,460 user.py 156 INFO user delete start...... 2018-03-14 10:58:27,136 user.py 178 INFO user delete end...... Total time cost: 359204(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |358881 |94 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:358881| | | | | | | | found affected:? | | | | | | | set VM error:359049| | | | | | marked host down:358975| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:359204 2018-03-14 10:58:27,299 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-14 11:42:25,985 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'