Comment 6 for bug 1323433

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote : Re: OSTF provides wrong failure message for ping probes

From OSTF log:

ERROR (nose_storage_plugin) fuel_health.tests.smoke.test_nova_create_instance_with_connectivity.TestNovaNetwork.test_004_create_servers
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 340, in run
    testMethod()
  File "/usr/lib/python2.6/site-packages/fuel_health/tests/smoke/test_nova_create_instance_with_connectivity.py", line 169, in test_004_create_servers
    self.compute_client, name, security_groups
  File "/usr/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 192, in verify
    " Please refer to OpenStack logs for more details.")
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 415, in fail
    raise self.failureException(msg)
AssertionError: Step 2 failed: Failed to get to expected status. In error state. Please refer to OpenStack logs for more details.
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
urllib3.connectionpool: DEBUG: "GET http://172.16.0.2:8774/v2/c6c9ad847554444695c4c05199c7494d/images/detail HTTP/1.1" 200 1570
fuel_health.nmanager: DEBUG: [<Image: TestVM>, <Image: TestVM>]
fuel_health.nmanager: DEBUG: TestVM
fuel_health.nmanager: DEBUG: TestVM
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
urllib3.connectionpool: DEBUG: "GET http://172.16.0.2:8774/v2/c6c9ad847554444695c4c05199c7494d/images/detail HTTP/1.1" 200 1570
fuel_health.nmanager: DEBUG: [<Image: TestVM>, <Image: TestVM>]
fuel_health.nmanager: DEBUG: TestVM
fuel_health.nmanager: DEBUG: TestVM
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
urllib3.connectionpool: DEBUG: "GET http://172.16.0.2:8774/v2/c6c9ad847554444695c4c05199c7494d/os-networks HTTP/1.1" 200 1142
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
urllib3.connectionpool: DEBUG: "POST http://172.16.0.2:8774/v2/c6c9ad847554444695c4c05199c7494d/servers HTTP/1.1" 202 467
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
urllib3.connectionpool: DEBUG: "GET http://172.16.0.2:8774/v2/c6c9ad847554444695c4c05199c7494d/servers/4270842c-65d5-4fa5-81d1-31d079772a55 HTTP/1.1" 200 1448
fuel_health.test: DEBUG: Adding <Server: ost1_test-server-smoke-25087196> to shared resources of TestNovaNetwork
fuel_health.config: INFO: INSTANCE {409: <fuel_health.config.NailgunConfig object at 0x4172790>}
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
urllib3.connectionpool: DEBUG: "GET http://172.16.0.2:8774/v2/c6c9ad847554444695c4c05199c7494d/servers/4270842c-65d5-4fa5-81d1-31d079772a55 HTTP/1.1" 200 1698
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 186, in verify
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/fuel_health/nmanager.py", line 502, in _create_server
    self.status_timeout(client.servers, server.id, 'ACTIVE')
  File "/usr/lib/python2.6/site-packages/fuel_health/test.py", line 128, in status_timeout
    conf.compute.build_interval):
  File "/usr/lib/python2.6/site-packages/fuel_health/test.py", line 61, in call_until_true
    if func():
  File "/usr/lib/python2.6/site-packages/fuel_health/test.py", line 118, in check_status
    self.fail("Failed to get to expected status. "
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 415, in fail
    raise self.failureException(msg)
AssertionError: Failed to get to expected status. In error state.