/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.110: b'bb4b7da228c45e6df59895f4980d4f42' key.get_fingerprint()))) 2018-04-21 21:40:19,691 main.py 106 INFO doctor test starting....... 2018-04-21 21:40:19,692 apex.py 28 INFO Setup Apex installer start...... 2018-04-21 21:40:19,692 base.py 80 INFO Get SSH keys from apex installer...... 2018-04-21 21:40:19,959 apex.py 46 INFO Get controller ips from Apex installer...... 2018-04-21 21:40:19,960 base.py 98 INFO Run command=source stackrc; nova list | grep ' overcloud-controller-[0-9] ' | sed -e 's/^.*ctlplane=//' |awk '{print $1}' in apex installer...... 2018-04-21 21:40:23,615 base.py 107 INFO Output=['192.30.9.10', '192.30.9.3', '192.30.9.5'] command=source stackrc; nova list | grep ' overcloud-controller-[0-9] ' | sed -e 's/^.*ctlplane=//' |awk '{print $1}' in apex installer 2018-04-21 21:40:23,616 apex.py 53 INFO Get controller_ips:['192.30.9.10', '192.30.9.3', '192.30.9.5'] from Apex installer 2018-04-21 21:40:24,624 apex.py 66 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'4dcfed2a1a6b85e3fd5f6e176a7e7a1f' key.get_fingerprint()))) /usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.3: b'cb068d8e024fa39a541980ec60971c86' 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'9c001231a0cc530fe98a517bd313d815' key.get_fingerprint()))) 2018-04-21 21:40:48,272 base.py 60 INFO Setup ssh stunnel in apex installer...... 2018-04-21 21:40:48,286 image.py 48 INFO image create start...... 2018-04-21 21:41:01,373 image.py 68 INFO image create end...... 2018-04-21 21:41:01,373 user.py 69 INFO user create start...... 2018-04-21 21:41:01,451 user.py 85 INFO create project...... 2018-04-21 21:41:01,557 user.py 95 INFO test project 2018-04-21 21:41:01,660 user.py 103 INFO create user...... 2018-04-21 21:41:02,018 user.py 113 INFO test user 2018-04-21 21:41:02,103 user.py 127 INFO role _member_ already created...... 2018-04-21 21:41:02,103 user.py 128 INFO test role 2018-04-21 21:41:03,706 user.py 77 INFO user create end...... 2018-04-21 21:41:03,706 main.py 53 INFO doctor fault management test starting....... 2018-04-21 21:41:04,158 fault_management.py 65 INFO fault management setup...... 2018-04-21 21:41:04,158 user.py 181 INFO user quota update start...... 2018-04-21 21:41:04,920 user.py 197 INFO user quota update end...... 2018-04-21 21:41:04,920 network.py 41 INFO network create start....... 2018-04-21 21:41:06,303 network.py 47 INFO network create end....... 2018-04-21 21:41:06,303 network.py 49 INFO subnet create start....... 2018-04-21 21:41:07,447 network.py 58 INFO subnet create end....... 2018-04-21 21:41:07,447 instance.py 51 INFO instance create start...... 2018-04-21 21:41:10,696 instance.py 73 INFO instance create end...... 2018-04-21 21:41:10,697 instance.py 92 INFO wait for vm launch start...... 2018-04-21 21:41:29,836 instance.py 110 INFO wait for vm launch end...... 2018-04-21 21:41:29,837 alarm.py 45 INFO alarm create start...... 2018-04-21 21:41:32,181 alarm.py 81 INFO alarm create end...... 2018-04-21 21:41:32,182 sample.py 72 INFO sample inspector start...... 2018-04-21 21:41:33,883 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-04-21 21:41:35,338 apex.py 58 INFO Get host ip by hostname=overcloud-novacompute-1.opnfvlf.org from Apex installer...... 2018-04-21 21:41:35,339 base.py 98 INFO Run command=source stackrc; nova show overcloud-novacompute-1 | awk '/ ctlplane network /{print $5}' in apex installer...... 2018-04-21 21:41:39,477 base.py 107 INFO Output=['192.30.9.6'] command=source stackrc; nova show overcloud-novacompute-1 | awk '/ ctlplane network /{print $5}' in apex installer 2018-04-21 21:41:39,477 fault_management.py 118 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.6) which vm(doctor_vm0) launched at 2018-04-21 21:41:39,478 sample.py 30 INFO sample monitor start...... 2018-04-21 21:41:39,478 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-04-21 21:43:39,479 fault_management.py 89 INFO fault management start...... 2018-04-21 21:43:39,480 base.py 80 INFO Get SSH keys from apex installer...... 2018-04-21 21:43:39,480 base.py 84 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'87f0cd14f626d2a88cb2cec5dc9423f6' key.get_fingerprint()))) 2018-04-21 21:43:39,551 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-04-21 21:43:39,717 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-04-21 21:43:39,766 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-04-21 21:43:39,767 fault_management.py 91 INFO fault management end...... 2018-04-21 21:43:40,894 sample.py 98 INFO doctor monitor detected at 1524347020.894219 2018-04-21 21:43:40,894 sample.py 41 INFO sample monitor report error...... 2018-04-21 21:43:40,902 sample.py 168 INFO event posted in sample inspector at 1524347020.902816 2018-04-21 21:43:40,903 sample.py 169 INFO sample inspector = 2018-04-21 21:43:40,903 sample.py 171 INFO sample inspector received data = b'[{"time": "2018-04-21T21:43:40.894756", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-04-21 21:43:40,973 sample.py 115 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1524347020.9730399 2018-04-21 21:43:41,053 sample.py 126 INFO doctor mark vm() error at 1524347021.0529797 127.0.0.1 - - [21/Apr/2018 21:43:41] "PUT /events HTTP/1.1" 200 - 2018-04-21 21:43:41,055 sample.py 101 INFO ping timeout, quit monitoring... 2018-04-21 21:43:41,140 sample.py 58 INFO doctor consumer notified at 1524347021.1400747 2018-04-21 21:43:41,140 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '498e63f3-9245-42ca-924a-0b5ab5d7b754', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '7fc73e82-c309-412a-87b3-d20f164c1996'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 240], ['user_id', 1, '268e126d519c4f118ac4eeec0c158e32'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '49e4dbcb656c4956af828a84b7d46d6b'], ['launched_at', 4, '2018-04-21T21:34:41'], ['disk_gb', 2, 1], ['instance_id', 1, '7fc73e82-c309-412a-87b3-d20f164c1996'], ['host', 1, 'overcloud-controller-1.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '49e4dbcb656c4956af828a84b7d46d6b'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-09c734f0-dbf2-419f-90f7-94ec1d58b39c']], 'message_signature': '2af4ee9311e42d1d81c453276bb5affc224db0bc684bcce970fe68623d376c75', 'raw': {}, 'generated': '2018-04-21T21:43:41.022845', 'message_id': 'd747dbff-f054-4542-9425-44b348fdeb45'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [21/Apr/2018 21:43:41] "POST /failure HTTP/1.1" 200 - 2018-04-21 21:43:49,830 fault_management.py 185 INFO doctor fault management test successfully,notification_time=0.24585580825805664 2018-04-21 21:43:49,830 fault_management.py 191 INFO run doctor fault management profile....... 2018-04-21 21:43:49,831 base.py 80 INFO Get SSH keys from apex installer...... 2018-04-21 21:43:49,831 base.py 84 INFO Already have SSH keys from apex installer...... 2018-04-21 21:43:50,904 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-04-21 21:43:51,061 fault_management.py 155 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.6) 2018-04-21 21:43:51,064 profiler_poc.py 97 INFO Total time cost: 404327(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |404081 |79 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:404081| | | | | | | | found affected:? | | | | | | | set VM error:404240| | | | | | marked host down:404160| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:404327 2018-04-21 21:43:51,064 fault_management.py 94 INFO fault management cleanup...... 2018-04-21 21:43:51,064 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2018-04-21 21:43:53,822 sample.py 78 INFO sample inspector stop...... 2018-04-21 21:43:53,864 sample.py 178 INFO shutdown inspector app server at 1524347033.8645837 127.0.0.1 - - [21/Apr/2018 21:43:53] "POST /events/shutdown HTTP/1.1" 200 - 2018-04-21 21:43:53,867 sample.py 35 INFO sample monitor stop...... 2018-04-21 21:43:53,867 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.6) 2018-04-21 21:43:53,867 sample.py 31 INFO sample consumer stop...... 2018-04-21 21:43:53,872 sample.py 66 INFO shutdown consumer app server at 1524347033.872451 127.0.0.1 - - [21/Apr/2018 21:43:53] "POST /shutdown HTTP/1.1" 200 - 2018-04-21 21:43:53,874 alarm.py 84 INFO alarm delete start....... 2018-04-21 21:43:54,626 alarm.py 93 INFO alarm delete end....... 2018-04-21 21:43:54,626 instance.py 76 INFO instance delete start....... 2018-04-21 21:45:26,921 instance.py 89 INFO instance delete end....... 2018-04-21 21:45:26,922 network.py 61 INFO subnet delete start....... 2018-04-21 21:45:27,558 network.py 64 INFO subnet delete end....... 2018-04-21 21:45:27,558 network.py 66 INFO network delete start....... 2018-04-21 21:45:28,776 network.py 69 INFO network delete end....... 2018-04-21 21:45:28,776 apex.py 80 INFO restore apply patches start...... 2018-04-21 21:45:31,890 image.py 71 INFO image delete start....... 2018-04-21 21:45:36,042 image.py 76 INFO image delete end....... 2018-04-21 21:45:36,042 user.py 156 INFO user delete start...... 2018-04-21 21:45:36,853 user.py 178 INFO user delete end...... Total time cost: 404327(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |404081 |79 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:404081| | | | | | | | found affected:? | | | | | | | set VM error:404240| | | | | | marked host down:404160| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:404327 2018-04-21 21:45:36,997 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/doctor-notification.log' 2018-04-21 22:34:27,952 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/barometercollectd.log'