Bug 2174566 - Tempest Test Fails in downstream: setUpClass (tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON)
Summary: Tempest Test Fails in downstream: setUpClass (tempest.api.compute.servers.tes...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ga
: 17.1
Assignee: Lukas Piwowarski
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks: 2174726
TreeView+ depends on / blocked
 
Reported: 2023-03-01 20:30 UTC by Alex Yefimov
Modified: 2023-08-16 01:14 UTC (History)
5 users (show)

Fixed In Version: openstack-tempest-33.0.0-1.20230308130919.1580f6f.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2174726 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:13:59 UTC
Target Upstream Version:
Embargoed:
ayefimov: needinfo+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 973307 0 None None None 2023-03-02 09:52:34 UTC
Launchpad 1996468 0 None None None 2023-03-02 09:52:34 UTC
OpenStack gerrit 855047 0 None MERGED Update server details before getting fixed IP 2023-03-02 09:52:34 UTC
OpenStack gerrit 864378 0 None MERGED Fix error KeyError: 'addresses' for two tests 2023-03-02 09:52:34 UTC
RDO 47307 0 None None None 2023-03-02 10:06:57 UTC
Red Hat Issue Tracker OSP-22804 0 None None None 2023-03-01 20:32:04 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:14:40 UTC

Comment 2 Martin Kopec 2023-03-02 09:54:05 UTC
        
ft1.1: setUpClass (tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON)testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/tempest/test.py", line 168, in setUpClass
    raise value.with_traceback(trace)
  File "/usr/lib/python3.9/site-packages/tempest/test.py", line 161, in setUpClass
    cls.resource_setup()
  File "/usr/lib/python3.9/site-packages/tempest/api/compute/servers/test_server_actions.py", line 95, in resource_setup
    cls.server_id = cls.recreate_server(None, validatable=True,
  File "/usr/lib/python3.9/site-packages/tempest/api/compute/base.py", line 442, in recreate_server
    server = cls.create_test_server(
  File "/usr/lib/python3.9/site-packages/tempest/api/compute/base.py", line 272, in create_test_server
    body, servers = compute.create_test_server(
  File "/usr/lib/python3.9/site-packages/tempest/common/compute.py", line 353, in create_test_server
    LOG.exception('Server %s failed to delete in time',
  File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__
    self.force_reraise()
  File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
    raise self.value
  File "/usr/lib/python3.9/site-packages/tempest/common/compute.py", line 328, in create_test_server
    wait_for_ssh_or_ping(
  File "/usr/lib/python3.9/site-packages/tempest/common/compute.py", line 131, in wait_for_ssh_or_ping
    server_ip = get_server_ip(
  File "/usr/lib/python3.9/site-packages/tempest/common/compute.py", line 78, in get_server_ip
    addresses = server['addresses'][CONF.validation.network_for_ssh]
KeyError: 'addresses'

Comment 3 Martin Kopec 2023-03-02 09:54:52 UTC
The fixes are part of tempest 33.0.0 tag

Comment 8 Martin Kopec 2023-03-20 10:16:15 UTC
The required fixes are part of the Fixed in version package which is available in the latest compose which passed phase1 and 2 testing.
I'm closing this as VERIFIED.

Comment 18 errata-xmlrpc 2023-08-16 01:13:59 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.