/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.166: b'23c13cf3d2518dbd59dfd1e6f49419e8' key.get_fingerprint()))) 2018-03-12 07:03:00,165 main.py 160 INFO doctor test starting....... 2018-03-12 07:03:00,166 apex.py 38 INFO Setup Apex installer start...... 2018-03-12 07:03:00,166 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-12 07:03:00,220 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-12 07:03:04,030 apex.py 80 INFO Get controller_ips:['192.30.9.6', '192.30.9.4', '192.30.9.5'] from Apex installer 2018-03-12 07:03:04,698 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'18938eca94f3046d2c44d2375f94b41c' 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'5e46edaa697a608d3ff985a040965831' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.5: b'1a9d72db152c6acfba96aae54843ddfa' key.get_fingerprint()))) 2018-03-12 07:03:26,043 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-12 07:03:26,058 image.py 48 INFO image create start...... 2018-03-12 07:03:47,061 image.py 68 INFO image create end...... 2018-03-12 07:03:47,062 user.py 69 INFO user create start...... 2018-03-12 07:03:47,088 user.py 85 INFO create project...... 2018-03-12 07:03:47,219 user.py 95 INFO test project 2018-03-12 07:03:47,327 user.py 103 INFO create user...... 2018-03-12 07:03:47,679 user.py 113 INFO test user 2018-03-12 07:03:47,760 user.py 127 INFO role _member_ already created...... 2018-03-12 07:03:47,761 user.py 128 INFO test role 2018-03-12 07:03:48,424 user.py 77 INFO user create end...... 2018-03-12 07:03:48,424 main.py 96 INFO doctor fault management test starting....... 2018-03-12 07:03:48,424 user.py 181 INFO user quota update start...... 2018-03-12 07:03:49,148 user.py 197 INFO user quota update end...... 2018-03-12 07:03:49,148 network.py 41 INFO network create start....... 2018-03-12 07:03:50,336 network.py 47 INFO network create end....... 2018-03-12 07:03:50,336 network.py 49 INFO subnet create start....... 2018-03-12 07:03:51,527 network.py 58 INFO subnet create end....... 2018-03-12 07:03:51,528 instance.py 51 INFO instance create start...... 2018-03-12 07:03:54,731 instance.py 73 INFO instance create end...... 2018-03-12 07:03:54,732 instance.py 92 INFO wait for vm launch start...... 2018-03-12 07:04:09,355 instance.py 110 INFO wait for vm launch end...... 2018-03-12 07:04:09,355 alarm.py 45 INFO alarm create start...... 2018-03-12 07:04:11,947 alarm.py 81 INFO alarm create end...... 2018-03-12 07:04:11,947 sample.py 72 INFO sample inspector start...... 2018-03-12 07:04:13,375 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-12 07:04:14,700 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-12 07:04:19,191 apex.py 95 INFO Get host_ip:['192.30.9.3'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-03-12 07:04:19,191 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-12 07:04:19,192 sample.py 30 INFO sample monitor start...... 2018-03-12 07:04:19,193 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.3) 2018-03-12 07:06:19,293 network_failure.py 39 INFO fault inject start...... 2018-03-12 07:06:19,294 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-12 07:06:19,295 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'070bf72060b0d5adc9edd188fdac59a5' key.get_fingerprint()))) 2018-03-12 07:06:19,366 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-12 07:06:19,540 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-12 07:06:19,589 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-12 07:06:19,590 network_failure.py 42 INFO fault inject end...... 2018-03-12 07:06:20,802 sample.py 97 INFO doctor monitor detected at 1520838380.8028083 2018-03-12 07:06:20,803 sample.py 41 INFO sample monitor report error...... 2018-03-12 07:06:20,811 sample.py 163 INFO event posted in sample inspector at 1520838380.8111467 2018-03-12 07:06:20,811 sample.py 164 INFO sample inspector = 2018-03-12 07:06:20,812 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-12T07:06:20.803372", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-12 07:06:20,903 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1520838380.903103 2018-03-12 07:06:20,981 sample.py 121 INFO doctor mark vm() error at 1520838380.981189 127.0.0.1 - - [12/Mar/2018 07:06:20] "PUT /events HTTP/1.1" 200 - 2018-03-12 07:06:20,984 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-12 07:06:21,142 sample.py 57 INFO doctor consumer notified at 1520838381.1427124 2018-03-12 07:06:21,143 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '333b24f3-d84b-45e4-8290-9878a9c79c52', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, 'b65e567e-16fa-4a42-a3eb-583de8072b95'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 202], ['user_id', 1, 'a9d8c664f7564f3ebf919809e43ed2af'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '940701b77f154e88b6442ed023e6b902'], ['launched_at', 4, '2018-03-12T06:58:09'], ['disk_gb', 2, 1], ['instance_id', 1, 'b65e567e-16fa-4a42-a3eb-583de8072b95'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '940701b77f154e88b6442ed023e6b902'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-30eb5f7d-a7dd-4740-8b92-a0de5d510778']], 'message_signature': '934686bf5096bb771cf0edb379d9c04b7d9566612d78876d341aedeed21483dd', 'raw': {}, 'generated': '2018-03-12T07:06:20.961972', 'message_id': '1abb6045-483b-4a4c-ada2-ad3628cec63e'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [12/Mar/2018 07:06:21] "POST /failure HTTP/1.1" 200 - 2018-03-12 07:06:29,647 main.py 120 INFO doctor fault management test successfully, notification_time=0.3399040699005127 2018-03-12 07:06:29,648 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-12 07:06:29,648 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-12 07:06:29,648 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-12 07:06:30,717 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-12 07:06:30,882 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-12 07:06:30,882 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-12 07:06:30,893 profiler_poc.py 97 INFO Total time cost: 356041(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |355701 |100 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:355701| | | | | | | | found affected:? | | | | | | | set VM error:355880| | | | | | marked host down:355801| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356041 2018-03-12 07:06:32,991 sample.py 78 INFO sample inspector stop...... 2018-03-12 07:06:33,029 sample.py 173 INFO shutdown inspector app server at 1520838393.0291638 127.0.0.1 - - [12/Mar/2018 07:06:33] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-12 07:06:33,031 sample.py 35 INFO sample monitor stop...... 2018-03-12 07:06:33,031 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.3) 2018-03-12 07:06:33,031 sample.py 31 INFO sample consumer stop...... 2018-03-12 07:06:33,035 sample.py 64 INFO shutdown consumer app server at 1520838393.0357609 127.0.0.1 - - [12/Mar/2018 07:06:33] "POST /shutdown HTTP/1.1" 200 - 2018-03-12 07:06:33,037 alarm.py 84 INFO alarm delete start....... 2018-03-12 07:06:33,669 alarm.py 93 INFO alarm delete end....... 2018-03-12 07:06:33,670 instance.py 76 INFO instance delete start....... 2018-03-12 07:06:36,863 instance.py 89 INFO instance delete end....... 2018-03-12 07:06:36,863 network.py 61 INFO subnet delete start....... 2018-03-12 07:06:37,479 network.py 64 INFO subnet delete end....... 2018-03-12 07:06:37,479 network.py 66 INFO network delete start....... 2018-03-12 07:06:38,184 network.py 69 INFO network delete end....... 2018-03-12 07:06:38,184 network_failure.py 45 INFO fault inject cleanup...... 2018-03-12 07:06:38,184 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-12 07:06:38,184 apex.py 127 INFO restore apply patches start...... 2018-03-12 07:06:42,717 image.py 71 INFO image delete start....... 2018-03-12 07:06:45,224 image.py 76 INFO image delete end....... 2018-03-12 07:06:45,224 user.py 156 INFO user delete start...... 2018-03-12 07:06:46,069 user.py 178 INFO user delete end...... Total time cost: 356041(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |355701 |100 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:355701| | | | | | | | found affected:? | | | | | | | set VM error:355880| | | | | | marked host down:355801| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356041 2018-03-12 07:06:46,234 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-12 07:50:50,917 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'