Bug 2229720

Summary: Tempest Test Fails in upstream:test_image_task.ImageTaskCreate.test_image_tasks_create
Product: Red Hat OpenStack Reporter: msava
Component: openstack-tempestAssignee: Lukas Piwowarski <lpiwowar>
Status: CLOSED UPSTREAM QA Contact: Martin Kopec <mkopec>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17.0 (Wallaby)CC: apevec, lhh, msava, slinaber, udesale
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-09 07:00:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description msava 2023-08-07 12:57:17 UTC
Description of problem:
Tempest Test fails in OSP upstream:

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/image/v2/admin/test_image_task.py", line 107, in test_image_tasks_create
    task_body = waiters.wait_for_tasks_status(self.os_admin.tasks_client,
  File "/opt/stack/tempest/tempest/common/waiters.py", line 242, in wait_for_tasks_status
    raise lib_exc.TimeoutException(message)
tempest.lib.exceptions.TimeoutException: Request timed out
Details: (ImageTaskCreate:test_image_tasks_create) Task 4c0eb0e3-e46a-4f47-a3c3-b667fd1b5a62 tasks: failed to reach success state within the required time (300 s).

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/image/v2/admin/test_image_task.py", line 120, in test_image_tasks_create
    self.assertEqual(
  File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/testtools/testcase.py", line 394, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/testtools/testcase.py", line 481, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'raw' != 'qcow2': Image Disc format raw not match to expected qcow2



Version-Release number of selected component (if applicable):
OSP 17.2

How reproducible:
Run tests in glance-cinder-multistore or nova-ceph-multistore environment

Steps to Reproduce:
1.
2.
3.

Actual results:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_0e4/886811/8/check/glance-multistore-cinder-import/0e4cdf7/testr_results.html

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_875/886811/8/check/nova-ceph-multistore/875816c/testr_results.html


Expected results:
Should pass

Additional info:

Comment 1 Martin Kopec 2023-08-07 14:45:15 UTC
As long as it only concerns upstream, it should be filed upstream -> https://bugs.launchpad.net/tempest
A BZ is useful only if it affects our downstream jobs using downstream rpms - if the issue was found using the master code, it definitely belongs to the upstream bug tracker.