Bug 2053378 - periodic-tripleo-ci-rhel-8-standalone-full-tempest-scenario-rhos-16.2 is failing on tempest test: test_create_and_update_port_with_dns_name
Summary: periodic-tripleo-ci-rhel-8-standalone-full-tempest-scenario-rhos-16.2 is fail...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-neutron-tests-tempest
Version: 16.2 (Train)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Slawek Kaplonski
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-11 06:24 UTC by Sandeep Yadav
Modified: 2022-02-21 04:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-21 04:47:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-12618 0 None None None 2022-02-11 06:38:43 UTC

Description Sandeep Yadav 2022-02-11 06:24:26 UTC
Description of problem:

periodic-tripleo-ci-rhel-8-standalone-full-tempest-scenario-rhos-16.2 is failing on a new tempest test, this tempest test was not running earlier on the same job.

~~~
neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_create_and_update_port_with_dns_name
~~~

Tempest test snippet:-

~~~
==============================
Failed 1 tests - output below:
==============================

neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_create_and_update_port_with_dns_name[id-db5e612f-f17f-4974-b5f1-9fe89f4a6fc9]
----------------------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b'  File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 109, in wrapper'
    b'    return func(*func_args, **func_kwargs)'
    b'  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_internal_dns.py", line 171, in test_create_and_update_port_with_dns_name'
    b'    self._validate_port_dns_details(vm_wrong_name, dns_port)'
    b'  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_internal_dns.py", line 69, in _validate_port_dns_details'
    b'    self.port_error_msg)'
    b'  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 411, in assertEqual'
    b'    self.assertThat(observed, matcher, message)'
    b'  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat'
    b'    raise mismatch_error'
    b"testtools.matchers._impl.MismatchError: 'tempest-internal-dns-test-bazinga-1660068156' != '': Openstack command returned incorrect hostname value in port."
    b''
~~~   


Version-Release number of selected component (if applicable):

16.2

How reproducible:
Everytime


Steps to Reproduce:
1. Deploy standalone
2. Run tempest test:-
neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_create_and_update_port_with_dns_name


Actual results:

Tempest test execution is failing.

Expected results:

Tempest test should pass


Additional info:

For network component following 2 rpm differs from last good known rpms:-

We have these two new rpms:-
~~~
python-neutron-tests-tempest-0.9.0-2.20220131155302.15c85f6.el8osttrunk
python-networking-ovn-7.4.2-2.20220207094839.3a1deba.el8osttrunk
~~~

Old known good rpms:-
~~~
python-neutron-tests-tempest-0.9.0-2.20220117124849.15c85f6.el8osttrunk
python-networking-ovn-7.4.2-2.20220125105251.9be626d.el8osttrunk
~~~


Looks like the issue started after we did a backport of the below patches on 16.2 in downstream.

~~~
https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/821079/
https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/820456/
~~~

We are not setting 'NeutronDnsDomain' in our jobs, In a similar bug[1] but not exact we added 'NeutronDnsDomain' in jobs, Do we need to add similar for our 16.2 jobs?

[1] https://bugs.launchpad.net/tripleo/+bug/1950815


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