Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918417 - dev-python/python-openstackclient-6.3.0: test regressions
Summary: dev-python/python-openstackclient-6.3.0: test regressions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 918343
  Show dependency tree
 
Reported: 2023-11-24 18:56 UTC by Michał Górny
Modified: 2023-12-04 20:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/dev-python:python-openstackclient-6.3.0:20231124-185222.log (dev-python:python-openstackclient-6.3.0:20231124-185222.log,914.37 KB, text/plain)
2023-11-24 18:56 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.83 KB, text/plain)
2023-11-24 18:57 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-24 18:56:33 UTC
Created attachment 875543 [details]
/var/log/portage/dev-python:python-openstackclient-6.3.0:20231124-185222.log

No clue what changed but network.v2.* tests suddenly started failing:

======================================================================
FAIL: test_show_all_options (network.v2.test_port.TestShowPort.test_show_all_options)
network.v2.test_port.TestShowPort.test_show_all_options
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/tmp/portage/dev-python/python-openstackclient-6.3.0/work/python-openstackclient-6.3.0/openstackclient/tests/unit/network/v2/te
st_port.py", line 2499, in test_show_all_options
    self.assertEqual(set(self.columns), set(columns))
  File "/usr/lib/python3.11/site-packages/testtools/testcase.py", line 395, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3.11/site-packages/testtools/testcase.py", line 482, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {'admin_state_up',
 'allowed_address_pairs',
 'binding_host_id',
 'binding_profile',
 [...]
 'trunk_details',
 'updated_at'}


----------------------------------------------------------------------
Ran 2606 tests in 72.829s

FAILED (failures=25)

and alike.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-24 18:57:01 UTC
Created attachment 875544 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-12-04 20:39:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b00547810a925620aedaa409bc6c63359668d92

commit 6b00547810a925620aedaa409bc6c63359668d92
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-12-04 20:33:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-04 20:39:31 +0000

    dev-python/python-openstackclient: Backport test fix
    
    Closes: https://bugs.gentoo.org/918417
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../files/python-openstackclient-6.3.0-test.patch  | 254 +++++++++++++++++++++
 .../python-openstackclient-6.3.0.ebuild            |   5 +
 2 files changed, 259 insertions(+)