Bug 1894636 - [neutron-tempest-plugin] testcases test_subport_connectivity and test_trunk_subport_lifecycle broken
Summary: [neutron-tempest-plugin] testcases test_subport_connectivity and test_trunk_s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutron-tests-tempest
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Rodolfo Alonso
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-04 16:46 UTC by Miguel Angel Nieto
Modified: 2022-08-26 15:32 UTC (History)
6 users (show)

Fixed In Version: python-neutron-tests-tempest-0.9.0-1.20201113201948.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:49:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1903272 0 None None None 2020-11-06 08:41:26 UTC
OpenStack gerrit 761717 0 None MERGED Fix access to dictionary variable "server" 2021-02-01 11:59:35 UTC
Red Hat Issue Tracker OSP-1958 0 None None None 2022-08-26 15:32:06 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:50:06 UTC

Description Miguel Angel Nieto 2020-11-04 16:46:03 UTC
Description of problem:
python error when executing testcases test_trunk_subport_lifecycle and test_subport_connectivity

Traceback (most recent call last):
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 266, in test_subport_connectivity
    use_advanced_image=use_advanced_image)
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 94, in _create_server_with_trunk_port
    use_advanced_image=use_advanced_image)
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 116, in _create_server
    **params)['server']
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/base.py", line 147, in create_server
    self.wait_for_guest_os_ready(server['server'], client=client)
  File "/home/stack/tempest/neutron-tempest-plugin/neutron_tempest_plugin/scenario/base.py", line 476, in wait_for_guest_os_ready
    '%s is ready.', server['server']['id'])
KeyError: 'server'

Latest neutron-tempest-plugin commit (failing) is 3addd352d8be9c9148a957795df4d4ce81247572. I tested with an older commit (1 month old) and it worked, so it is an issue in neutron-tempest-plugin.



Version-Release number of selected component (if applicable):
neutron-tempest-plugin 3addd352d8be9c9148a957795df4d4ce81247572
RHOS-16.1-RHEL-8-20201021.n.0
ml2ovs setup

How reproducible:
Execute testcases test_subport_connectivity or test_trunk_subport_lifecycle broken in a ml2ovs setup


Actual results:
Testcases execution fail, there is a missing key in a dict


Expected results:
Testcases are executed properly


Additional info:

Comment 2 Jon Schlueter 2020-12-18 17:59:26 UTC
moving back to POST, upstream master has patch according to comment #1

dff870b600fc5a4fa33ccfc7c41b62f9aaa38ae3

Comment 19 errata-xmlrpc 2021-05-26 13:49:37 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 (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement advisory), 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/RHBA-2021:2097


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