/usr/lib/python3.6/site-packages/paramiko/client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.79: b'b461b2590ee46f647b8836fabd9c2a0e' key.get_fingerprint()))) 2018-02-27 19:42:06,362 main.py 161 INFO doctor test starting....... 2018-02-27 19:42:06,363 apex.py 38 INFO Setup Apex installer start...... 2018-02-27 19:42:06,363 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 19:42:06,413 apex.py 69 INFO Get controller ips from Apex installer...... 2018-02-27 19:42:10,564 apex.py 80 INFO Get controller_ips:['192.30.9.8', '192.30.9.9', '192.30.9.7'] from Apex installer 2018-02-27 19:42:11,181 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.8: b'0b0e2651b9bf2ad6b8c86766f0acf1a8' 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'0d49d45287237b7db280e5e64887337f' 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'20f64c5e36b07d7a8f3a93c14c048003' key.get_fingerprint()))) 2018-02-27 19:42:31,548 apex.py 99 INFO Setup ssh stunnel in controller nodesin Apex installer...... 2018-02-27 19:42:31,564 image.py 48 INFO image create start...... 2018-02-27 19:42:38,867 image.py 68 INFO image create end...... 2018-02-27 19:42:38,868 user.py 69 INFO user create start...... 2018-02-27 19:42:38,962 user.py 85 INFO create project...... 2018-02-27 19:42:39,097 user.py 95 INFO test project 2018-02-27 19:42:39,135 user.py 103 INFO create user...... 2018-02-27 19:42:39,438 user.py 113 INFO test user 2018-02-27 19:42:39,532 user.py 127 INFO role _member_ already created...... 2018-02-27 19:42:39,532 user.py 128 INFO test role 2018-02-27 19:42:40,184 user.py 77 INFO user create end...... 2018-02-27 19:42:40,185 main.py 97 INFO doctor fault management test starting....... 2018-02-27 19:42:40,185 user.py 181 INFO user quota update start...... 2018-02-27 19:42:40,903 user.py 197 INFO user quota update end...... 2018-02-27 19:42:40,904 network.py 41 INFO network create start....... 2018-02-27 19:42:42,167 network.py 47 INFO network create end....... 2018-02-27 19:42:42,167 network.py 49 INFO subnet create start....... 2018-02-27 19:42:42,879 network.py 58 INFO subnet create end....... 2018-02-27 19:42:42,879 instance.py 51 INFO instance create start...... 2018-02-27 19:42:45,992 instance.py 73 INFO instance create end...... 2018-02-27 19:42:45,992 instance.py 92 INFO wait for vm launch start...... 2018-02-27 19:42:55,756 instance.py 110 INFO wait for vm launch end...... 2018-02-27 19:42:55,757 alarm.py 45 INFO alarm create start...... 2018-02-27 19:42:58,284 alarm.py 81 INFO alarm create end...... 2018-02-27 19:42:58,285 sample.py 72 INFO sample inspector start...... 2018-02-27 19:42:59,834 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-02-27 19:43:01,162 apex.py 84 INFO Get host ip from host name in Apex installer...... 2018-02-27 19:43:04,989 apex.py 95 INFO Get host_ip:['192.30.9.10'] from host_name:overcloud-novacompute-1.opnfvlf.org in Apex installer 2018-02-27 19:43:04,990 main.py 194 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.10) which vm(doctor_vm0) launched at 2018-02-27 19:43:04,991 sample.py 30 INFO sample monitor start...... 2018-02-27 19:43:04,991 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-02-27 19:45:05,009 network_failure.py 39 INFO fault inject start...... 2018-02-27 19:45:05,010 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 19:45:05,010 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.10: b'cc5342999528d27b25ba3115b6a0a912' key.get_fingerprint()))) 2018-02-27 19:45:05,082 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-02-27 19:45:05,252 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-02-27 19:45:05,302 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-02-27 19:45:05,303 network_failure.py 42 INFO fault inject end...... 2018-02-27 19:45:06,445 sample.py 97 INFO doctor monitor detected at 1519760706.4456174 2018-02-27 19:45:06,445 sample.py 41 INFO sample monitor report error...... 2018-02-27 19:45:06,454 sample.py 163 INFO event posted in sample inspector at 1519760706.4546685 2018-02-27 19:45:06,454 sample.py 164 INFO sample inspector = 2018-02-27 19:45:06,455 sample.py 166 INFO sample inspector received data = b'[{"time": "2018-02-27T19:45:06.446093", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-02-27 19:45:06,520 sample.py 112 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1519760706.520108 2018-02-27 19:45:06,612 sample.py 121 INFO doctor mark vm() error at 1519760706.6129103 127.0.0.1 - - [27/Feb/2018 19:45:06] "PUT /events HTTP/1.1" 200 - 2018-02-27 19:45:06,616 sample.py 99 INFO ping timeout, quit monitoring... 2018-02-27 19:45:06,691 sample.py 57 INFO doctor consumer notified at 1519760706.6915174 2018-02-27 19:45:06,692 sample.py 59 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': 'a89f45ac-4388-42c3-92a9-32f12d3c2fc3', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '5482a65f-aab3-4636-98ba-8a8a683d6f5b'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 192], ['user_id', 1, 'e60c41a6fef347869b0723c938323c79'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '828390aa68e7462ebff9e1162b09c6cf'], ['launched_at', 4, '2018-02-27T19:37:13'], ['disk_gb', 2, 1], ['instance_id', 1, '5482a65f-aab3-4636-98ba-8a8a683d6f5b'], ['host', 1, 'overcloud-controller-2.opnfvlf.org'], ['root_gb', 2, 1], ['tenant_id', 1, '828390aa68e7462ebff9e1162b09c6cf'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-fa64e6b4-8a30-44fe-8b01-9045acaa21b3']], 'message_signature': '0c73f2864bb8dac87a679682ee9bfcd4f79fb41d11aa01e619f5d52dbd39e9ba', 'raw': {}, 'generated': '2018-02-27T19:45:06.585213', 'message_id': '7802a40f-4e28-49a2-bcb0-0667dc195b65'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [27/Feb/2018 19:45:06] "POST /failure HTTP/1.1" 200 - 2018-02-27 19:45:15,361 main.py 121 INFO doctor fault management test successfully, notification_time=0.24589991569519043 2018-02-27 19:45:15,361 main.py 128 INFO doctor fault management test begin to run profile....... 2018-02-27 19:45:15,361 apex.py 52 INFO Get SSH keys from Apex installer...... 2018-02-27 19:45:15,361 apex.py 55 INFO Already have SSH keys from Apex installer...... 2018-02-27 19:45:18,432 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-02-27 19:45:18,594 network_failure.py 68 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.10) 2018-02-27 19:45:18,594 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-02-27 19:45:18,605 profiler_poc.py 97 INFO Total time cost: 338215(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |337969 |75 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:337969| | | | | | | | found affected:? | | | | | | | set VM error:338136| | | | | | marked host down:338044| | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:338215 2018-02-27 19:45:20,714 sample.py 78 INFO sample inspector stop...... 127.0.0.1 - - [27/Feb/2018 19:45:20] "POST /events/shutdown HTTP/1.1" 404 - 2018-02-27 19:45:20,770 sample.py 35 INFO sample monitor stop...... 2018-02-27 19:45:20,771 sample.py 106 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.10) 2018-02-27 19:45:20,771 sample.py 31 INFO sample consumer stop...... 2018-02-27 19:45:20,775 sample.py 64 INFO shutdown consumer app server at 1519760720.7757142 127.0.0.1 - - [27/Feb/2018 19:45:20] "POST /shutdown HTTP/1.1" 200 - 2018-02-27 19:45:20,778 alarm.py 84 INFO alarm delete start....... 2018-02-27 19:45:21,449 alarm.py 93 INFO alarm delete end....... 2018-02-27 19:45:21,449 instance.py 76 INFO instance delete start....... 2018-02-27 19:45:23,986 instance.py 89 INFO instance delete end....... 2018-02-27 19:45:23,987 network.py 61 INFO subnet delete start....... 2018-02-27 19:45:24,790 network.py 64 INFO subnet delete end....... 2018-02-27 19:45:24,790 network.py 66 INFO network delete start....... 2018-02-27 19:45:25,547 network.py 69 INFO network delete end....... 2018-02-27 19:45:25,548 network_failure.py 45 INFO fault inject cleanup...... 2018-02-27 19:45:25,548 network_failure.py 50 INFO Already get the disable_netork.log from down_host...... 2018-02-27 19:45:25,548 apex.py 127 INFO restore apply patches start...... 2018-02-27 19:45:28,701 image.py 71 INFO image delete start....... 2018-02-27 19:45:30,685 image.py 76 INFO image delete end....... 2018-02-27 19:45:30,685 user.py 156 INFO user delete start...... 2018-02-27 19:45:31,285 user.py 178 INFO user delete end...... 2018-02-27 19:45:31,296 - functest.core.feature - ERROR - Execute command: doctor-test failed 2018-02-27 19:45:31,296 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/doctor-notification.log' 2018-02-27 19:58:16,794 - functest.core.feature - ERROR - sdnvpn FAILED Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/core/feature.py", line 97, in run if self.execute(**kwargs) == 0: File "/usr/lib/python2.7/site-packages/sdnvpn/test/functest/run_sdnvpn_tests.py", line 77, in execute t = importlib.import_module(test_name, package=None) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/sdnvpn/test/functest/testcase_12.py", line 1 !/usr/bin/python ^ SyntaxError: invalid syntax 2018-02-27 19:58:16,796 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/bgpvpn.log'