/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.84: b'b0fdc94e7e528cc120df2b3be20e8d07' key.get_fingerprint()))) 2018-03-18 23:05:08,696 main.py 160 INFO doctor test starting....... 2018-03-18 23:05:08,696 apex.py 38 INFO Setup Apex installer start...... 2018-03-18 23:05:08,696 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-18 23:05:08,743 apex.py 69 INFO Get controller ips from Apex installer...... 2018-03-18 23:05:12,602 apex.py 80 INFO Get controller_ips:['192.30.9.5', '192.30.9.7', '192.30.9.10'] from Apex installer 2018-03-18 23:05:13,270 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.5: b'987ea4e696abb3b383e42d59a2bc6510' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.7: b'a394cefbb455b4065ec607b1f53041f7' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.10: b'faf9810894d8309f7b5724b737c91d98' key.get_fingerprint()))) 2018-03-18 23:05:32,938 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-03-18 23:05:32,952 image.py 48 INFO image create start...... 2018-03-18 23:05:41,674 image.py 68 INFO image create end...... 2018-03-18 23:05:41,674 user.py 69 INFO user create start...... 2018-03-18 23:05:41,762 user.py 85 INFO create project...... 2018-03-18 23:05:41,893 user.py 95 INFO test project 2018-03-18 23:05:41,985 user.py 103 INFO create user...... 2018-03-18 23:05:42,350 user.py 113 INFO test user 2018-03-18 23:05:42,441 user.py 127 INFO role _member_ already created...... 2018-03-18 23:05:42,441 user.py 128 INFO test role 2018-03-18 23:05:43,135 user.py 77 INFO user create end...... 2018-03-18 23:05:43,136 main.py 96 INFO doctor fault management test starting....... 2018-03-18 23:05:43,137 user.py 181 INFO user quota update start...... 2018-03-18 23:05:43,879 user.py 197 INFO user quota update end...... 2018-03-18 23:05:43,880 network.py 41 INFO network create start....... 2018-03-18 23:05:45,023 network.py 47 INFO network create end....... 2018-03-18 23:05:45,023 network.py 49 INFO subnet create start....... 2018-03-18 23:05:47,071 network.py 58 INFO subnet create end....... 2018-03-18 23:05:47,071 instance.py 51 INFO instance create start...... 2018-03-18 23:05:50,638 instance.py 73 INFO instance create end...... 2018-03-18 23:05:50,638 instance.py 92 INFO wait for vm launch start...... 2018-03-18 23:06:09,462 instance.py 110 INFO wait for vm launch end...... 2018-03-18 23:06:09,462 alarm.py 45 INFO alarm create start...... 2018-03-18 23:06:11,943 alarm.py 81 INFO alarm create end...... 2018-03-18 23:06:11,943 sample.py 72 INFO sample inspector start...... 2018-03-18 23:06:13,301 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-18 23:06:14,646 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-03-18 23:06:18,796 apex.py 95 INFO Get host_ip:['192.30.9.8'] from host_name:overcloud-novacompute-0.opnfvlf.org in Apex installer 2018-03-18 23:06:18,796 main.py 193 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.8) which vm(doctor_vm0) launched at 2018-03-18 23:06:18,797 sample.py 30 INFO sample monitor start...... 2018-03-18 23:06:18,798 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.8) 2018-03-18 23:08:18,843 network_failure.py 39 INFO fault inject start...... 2018-03-18 23:08:18,845 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-18 23:08:18,845 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.8: b'13a23da3abb377e3042b5cc36b01775e' key.get_fingerprint()))) 2018-03-18 23:08:18,919 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-03-18 23:08:19,100 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-03-18 23:08:19,150 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-03-18 23:08:19,151 network_failure.py 42 INFO fault inject end...... 2018-03-18 23:08:20,348 sample.py 97 INFO doctor monitor detected at 1521414500.3485932 2018-03-18 23:08:20,348 sample.py 41 INFO sample monitor report error...... 2018-03-18 23:08:20,357 sample.py 163 INFO event posted in sample inspector at 1521414500.3574157 2018-03-18 23:08:20,357 sample.py 164 INFO sample inspector = 2018-03-18 23:08:20,358 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-03-18T23:08:20.349141", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-03-18 23:08:20,430 sample.py 112 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1521414500.430195 2018-03-18 23:08:20,529 sample.py 121 INFO doctor mark vm() error at 1521414500.5297468 127.0.0.1 - - [18/Mar/2018 23:08:20] "PUT /events HTTP/1.1" 200 - 2018-03-18 23:08:20,532 sample.py 99 INFO ping timeout, quit monitoring... 2018-03-18 23:08:20,646 sample.py 57 INFO doctor consumer notified at 1521414500.6463535 2018-03-18 23:08:20,647 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'fc58c9d7-0553-4913-9340-65221fd4404e', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '447a47c8-c080-486f-b831-3c7d65746853'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 245], ['user_id', 1, '7796ca320db444e5b8645b9d061c28a9'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '61d361afb28441ca8f9b182c083ed510'], ['launched_at', 4, '2018-03-18T22:59:46'], ['disk_gb', 2, 1], ['instance_id', 1, '447a47c8-c080-486f-b831-3c7d65746853'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '61d361afb28441ca8f9b182c083ed510'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-bd0d9512-86de-4240-a47c-1e0524219e2a']], 'message_signature': 'c844ac6c784387daa24afc6f670316ff2fc54b7998cf06791d378b9408c4b24e', 'raw': {}, 'generated': '2018-03-18T23:08:20.508594', 'message_id': '70b2d4bd-146d-466f-bce9-b06843721da9'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [18/Mar/2018 23:08:20] "POST /failure HTTP/1.1" 200 - 2018-03-18 23:08:29,210 main.py 120 INFO doctor fault management test successfully, notification_time=0.2977602481842041 2018-03-18 23:08:29,211 main.py 127 INFO doctor fault management test begin to run profile....... 2018-03-18 23:08:29,211 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-03-18 23:08:29,211 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-03-18 23:08:30,282 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-03-18 23:08:30,447 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.8) 2018-03-18 23:08:30,447 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-18 23:08:30,458 profiler_poc.py 97 INFO Total time cost: 380225(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |379927 |81 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:379927| | | | | | | | found affected:? | | | | | | | set VM error:380108| | | | | | marked host down:380008| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:380225 2018-03-18 23:08:32,593 sample.py 78 INFO sample inspector stop...... 2018-03-18 23:08:32,632 sample.py 173 INFO shutdown inspector app server at 1521414512.6327293 127.0.0.1 - - [18/Mar/2018 23:08:32] "POST /events/shutdown HTTP/1.1" 200 - 2018-03-18 23:08:32,635 sample.py 35 INFO sample monitor stop...... 2018-03-18 23:08:32,635 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.8) 2018-03-18 23:08:32,635 sample.py 31 INFO sample consumer stop...... 2018-03-18 23:08:32,640 sample.py 64 INFO shutdown consumer app server at 1521414512.6401172 127.0.0.1 - - [18/Mar/2018 23:08:32] "POST /shutdown HTTP/1.1" 200 - 2018-03-18 23:08:32,642 alarm.py 84 INFO alarm delete start....... 2018-03-18 23:08:33,315 alarm.py 93 INFO alarm delete end....... 2018-03-18 23:08:33,316 instance.py 76 INFO instance delete start....... 2018-03-18 23:08:37,855 instance.py 89 INFO instance delete end....... 2018-03-18 23:08:37,855 network.py 61 INFO subnet delete start....... 2018-03-18 23:08:38,393 network.py 64 INFO subnet delete end....... 2018-03-18 23:08:38,393 network.py 66 INFO network delete start....... 2018-03-18 23:08:39,250 network.py 69 INFO network delete end....... 2018-03-18 23:08:39,250 network_failure.py 45 INFO fault inject cleanup...... 2018-03-18 23:08:39,250 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-03-18 23:08:39,250 apex.py 127 INFO restore apply patches start...... 2018-03-18 23:08:42,441 image.py 71 INFO image delete start....... 2018-03-18 23:08:48,248 image.py 76 INFO image delete end....... 2018-03-18 23:08:48,249 user.py 156 INFO user delete start...... 2018-03-18 23:08:49,245 user.py 178 INFO user delete end...... Total time cost: 380225(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |379927 |81 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:379927| | | | | | | | found affected:? | | | | | | | set VM error:380108| | | | | | marked host down:380008| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:380225 2018-03-18 23:08:49,407 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-03-19 00:00:20,237 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'