Comment 11 for bug 1972163

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote : Re: Master cs9 standalone full tempest api failing for volume tempest tests and with error - 'Volume failed to detach from server'

https://logserver.rdoproject.org/60/39960/45/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset035-train/3f39640/logs/undercloud/var/log/tempest/tempest_run.log.txt.gz

~~~
==============================
Failed 2 tests - output below:
==============================

tempest.api.compute.admin.test_volumes_negative.VolumesAdminNegativeTest.test_update_attached_volume_with_nonexistent_volume_in_body[id-7dcac15a-b107-46d3-a5f6-cb863f4e454a,negative]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/tempest/common/waiters.py", line 288, in wait_for_volume_resource_status
        raise lib_exc.TimeoutException(message)
    tempest.lib.exceptions.TimeoutException: Request timed out
    Details: volume b3c8ca9a-175f-4eb4-9500-bc41fc741f4a failed to reach available status (current in-use) within the required time (300 s).

~~~

~~~
tearDownClass (tempest.api.compute.admin.test_volumes_negative.VolumesAdminNegativeTest)
----------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/tempest/test.py", line 236, in tearDownClass
        six.reraise(etype, value, trace)
      File "/usr/local/lib/python3.6/site-packages/six.py", line 719, in reraise
        raise value
      File "/usr/lib/python3.6/site-packages/tempest/test.py", line 208, in tearDownClass
        teardown()
      File "/usr/lib/python3.6/site-packages/tempest/test.py", line 590, in resource_cleanup
        raise testtools.MultipleExceptions(*cleanup_errors)
    testtools.runtest.MultipleExceptions: ((<class 'tempest.lib.exceptions.BadRequest'>, Bad request
    Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, <traceback object at 0x7f486db9f7c8>), (<class 'tempest.lib.exceptions.TimeoutException'>, Request timed out
    Details: (VolumesAdminNegativeTest:tearDownClass) Failed to delete volume b3c8ca9a-175f-4eb4-9500-bc41fc741f4a within the required time (300 s)., <traceback object at 0x7f486f438d08>))
~~~