Bug 2109816 - tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values failure on a NFS-derived backend
Summary: tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdmin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 17.1
Assignee: Martin Kopec
QA Contact: Lukas Piwowarski
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-22 08:41 UTC by Luigi Toscano
Modified: 2023-08-16 01:11 UTC (History)
5 users (show)

Fixed In Version: openstack-tempest-32.0.0-1.20221003160712.bc12bd4.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:11:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1979826 0 None None None 2022-07-22 08:41:43 UTC
OpenStack gerrit 847952 0 None MERGED Fix backward compatibility of compare volume stats 2022-07-22 12:51:08 UTC
Red Hat Issue Tracker OSP-17806 0 None None None 2022-07-22 08:46:53 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:11:57 UTC

Description Luigi Toscano 2022-07-22 08:41:44 UTC
Description of problem:
Dyue to some refactoring of the tempest test 
tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values

the behavior when comparing the results on an NFS backend was broken for stable releases.


Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/tempest/api/volume/admin/test_backends_capabilities.py", line 91, in test_compare_volume_stats_values
    self.assertEqual(expected_list, observed_list)
  File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 391, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 478, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = [('NetApp', 'tripleo_netapp', 'nfs')]
actual    = [('NetApp', 'tripleo_netapp', 'NFS')]


The upstream bug (https://bugs.launchpad.net/cinder/+bug/1979826) and the related fix (https://review.opendev.org/c/openstack/tempest/+/847952) provide more details.
This bug is needed to track the failure and ensure the fix lands at some point.

Version-Release number of selected component (if applicable):
openstack-tempest-31.1.0-0.20220705220828.56d259d.el9ost.noarch

Comment 11 Lukas Piwowarski 2023-02-28 08:56:24 UTC
The bug fix fixes the issue and it is present in openstack-tempest-32.0.0-1.20221003160712.bc12bd4.el9ost (see verifying-fix-bug-2109816.txt). I'm moving this to VERIFIED.

[1] https://review.opendev.org/c/openstack/tempest/+/847952

Comment 20 errata-xmlrpc 2023-08-16 01:11:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577


Note You need to log in before you can comment on or make changes to this bug.