/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.182: b'146a79551f88b1038898d9b4448f0fe3' key.get_fingerprint()))) 2018-03-11 05:11:40,411 main.py 160 INFO doctor test starting....... 2018-03-11 05:11:40,411 apex.py 38 INFO Setup Apex installer start...... 2018-03-11 05:11:40,411 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-11 05:11:40,452 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-11 05:11:43,597 apex.py 80 INFO Get controller_ips:['192.30.9.7', '192.30.9.9', '192.30.9.4'] from Apex installer 2018-03-11 05:11:44,365 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'286b432c5649e45e44e1db8e27d7e9e9' 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'd80769d9db33eecc49aa40cb10526f09' 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'7596789187bec0b2a6cdf9150ff36721' key.get_fingerprint()))) 2018-03-11 05:12:05,234 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-11 05:12:05,249 image.py 48 INFO image create start...... 2018-03-11 05:12:11,094 image.py 68 INFO image create end...... 2018-03-11 05:12:11,094 user.py 69 INFO user create start...... 2018-03-11 05:12:11,190 user.py 85 INFO create project...... 2018-03-11 05:12:11,302 user.py 95 INFO test project 2018-03-11 05:12:11,347 user.py 103 INFO create user...... 2018-03-11 05:12:11,644 user.py 113 INFO test user 2018-03-11 05:12:11,726 user.py 127 INFO role _member_ already created...... 2018-03-11 05:12:11,726 user.py 128 INFO test role 2018-03-11 05:12:12,365 user.py 77 INFO user create end...... 2018-03-11 05:12:12,366 main.py 96 INFO doctor fault management test starting....... 2018-03-11 05:12:12,366 user.py 181 INFO user quota update start...... 2018-03-11 05:12:13,116 user.py 197 INFO user quota update end...... 2018-03-11 05:12:13,117 network.py 41 INFO network create start....... 2018-03-11 05:12:14,462 network.py 47 INFO network create end....... 2018-03-11 05:12:14,462 network.py 49 INFO subnet create start....... 2018-03-11 05:12:15,467 network.py 58 INFO subnet create end....... 2018-03-11 05:12:15,467 instance.py 51 INFO instance create start...... 2018-03-11 05:12:18,943 instance.py 73 INFO instance create end...... 2018-03-11 05:12:18,944 instance.py 92 INFO wait for vm launch start...... 2018-03-11 05:12:28,691 instance.py 110 INFO wait for vm launch end...... 2018-03-11 05:12:28,692 alarm.py 45 INFO alarm create start...... 2018-03-11 05:12:31,210 alarm.py 81 INFO alarm create end...... 2018-03-11 05:12:31,210 sample.py 72 INFO sample inspector start...... 2018-03-11 05:12:32,522 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-11 05:12:33,791 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-11 05:12:38,239 apex.py 95 INFO Get host_ip:['192.30.9.3'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-11 05:12:38,239 main.py 193 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.3) which vm(doctor_vm0) launched at 2018-03-11 05:12:38,240 sample.py 30 INFO sample monitor start...... 2018-03-11 05:12:38,241 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.3) 2018-03-11 05:14:38,242 network_failure.py 39 INFO fault inject start...... 2018-03-11 05:14:38,244 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-11 05:14:38,244 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.3: b'67bca849a12a9a525371b782ff40d365' key.get_fingerprint()))) 2018-03-11 05:14:38,317 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-11 05:14:38,488 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-11 05:14:38,537 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-11 05:14:38,538 network_failure.py 42 INFO fault inject end...... 2018-03-11 05:14:39,711 sample.py 97 INFO doctor monitor detected at 1520745279.7115521 2018-03-11 05:14:39,712 sample.py 41 INFO sample monitor report error...... 2018-03-11 05:14:39,720 sample.py 163 INFO event posted in sample inspector at 1520745279.7207592 2018-03-11 05:14:39,721 sample.py 164 INFO sample inspector = 2018-03-11 05:14:39,721 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-11T05:14:39.712226", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-11 05:14:39,787 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520745279.7874496 2018-03-11 05:14:39,871 sample.py 121 INFO doctor mark vm() error at 1520745279.8714874 127.0.0.1 - - [11/Mar/2018 05:14:39] "PUT /events HTTP/1.1" 200 - 2018-03-11 05:14:39,874 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-11 05:14:39,971 sample.py 57 INFO doctor consumer notified at 1520745279.9710991 2018-03-11 05:14:39,971 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '28f2bb50-ce85-4c1e-b9df-f82895d3ea4b', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'f35ea75c-b530-4001-b713-64fb1856c7f0'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 200], ['user_id', 1, '148e2b947f8b46288fa99f45f4c8319d'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '06839e9c2bfd46d2818dd445d15f1389'], ['launched_at', 4, '2018-03-11T05:06:18'], ['disk_gb', 2, 1], ['instance_id', 1, 'f35ea75c-b530-4001-b713-64fb1856c7f0'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '06839e9c2bfd46d2818dd445d15f1389'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-ece1216c-7833-444c-b295-3e2e5623a014']], 'message_signature': '694ace659d999280d0a47d1eecae4c7d682b1ff43292773be6b3cde02da4124e', 'raw': {}, 'generated': '2018-03-11T05:14:39.839732', 'message_id': 'ad2f0584-95b8-4ab1-a306-e2dab5671c13'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [11/Mar/2018 05:14:39] "POST /failure HTTP/1.1" 200 - 2018-03-11 05:14:48,603 main.py 120 INFO doctor fault management test successfully, notification_time=0.25954699516296387 2018-03-11 05:14:48,604 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-11 05:14:48,604 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-11 05:14:48,604 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-11 05:14:51,677 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-11 05:14:51,841 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.3) 2018-03-11 05:14:51,841 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-11 05:14:51,852 profiler_poc.py 97 INFO Total time cost: 368239(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |367980 |76 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:367980| | | | | | | | found affected:? | | | | | | | set VM error:368140| | | | | | marked host down:368056| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:368239 2018-03-11 05:14:53,972 sample.py 78 INFO sample inspector stop...... 2018-03-11 05:14:54,024 sample.py 173 INFO shutdown inspector app server at 1520745294.024734 127.0.0.1 - - [11/Mar/2018 05:14:54] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-11 05:14:54,027 sample.py 35 INFO sample monitor stop...... 2018-03-11 05:14:54,027 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.3) 2018-03-11 05:14:54,028 sample.py 31 INFO sample consumer stop...... 2018-03-11 05:14:54,032 sample.py 64 INFO shutdown consumer app server at 1520745294.03249 127.0.0.1 - - [11/Mar/2018 05:14:54] "POST /shutdown HTTP/1.1" 200 - 2018-03-11 05:14:54,034 alarm.py 84 INFO alarm delete start....... 2018-03-11 05:14:54,777 alarm.py 93 INFO alarm delete end....... 2018-03-11 05:14:54,778 instance.py 76 INFO instance delete start....... 2018-03-11 05:14:57,711 instance.py 89 INFO instance delete end....... 2018-03-11 05:14:57,712 network.py 61 INFO subnet delete start....... 2018-03-11 05:14:58,276 network.py 64 INFO subnet delete end....... 2018-03-11 05:14:58,276 network.py 66 INFO network delete start....... 2018-03-11 05:14:59,007 network.py 69 INFO network delete end....... 2018-03-11 05:14:59,007 network_failure.py 45 INFO fault inject cleanup...... 2018-03-11 05:14:59,008 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-11 05:14:59,008 apex.py 127 INFO restore apply patches start...... 2018-03-11 05:15:02,135 image.py 71 INFO image delete start....... 2018-03-11 05:15:03,112 image.py 76 INFO image delete end....... 2018-03-11 05:15:03,112 user.py 156 INFO user delete start...... 2018-03-11 05:15:03,747 user.py 178 INFO user delete end...... Total time cost: 368239(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |367980 |76 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:367980| | | | | | | | found affected:? | | | | | | | set VM error:368140| | | | | | marked host down:368056| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:368239 2018-03-11 05:15:03,928 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log'