Bug 2174566
| Summary: | Tempest Test Fails in downstream: setUpClass (tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON) | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alex Yefimov <ayefimov> | |
| Component: | openstack-tempest | Assignee: | Lukas Piwowarski <lpiwowar> | |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kopec <mkopec> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 17.0 (Wallaby) | CC: | apevec, drosenfe, lhh, slinaber, udesale | |
| Target Milestone: | ga | Keywords: | Triaged | |
| Target Release: | 17.1 | Flags: | ayefimov:
needinfo+
|
|
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-tempest-33.0.0-1.20230308130919.1580f6f.el9ost | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2174726 (view as bug list) | Environment: | ||
| Last Closed: | 2023-08-16 01:13:59 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2174726 | |||
|
Comment 1
Alex Yefimov
2023-03-01 20:31:57 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'
The fixes are part of tempest 33.0.0 tag 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. 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 |