Bug 1780619 - [OSP13][tempest] smoke test fails when the external network has multiple IPv4 subnet
Summary: [OSP13][tempest] smoke test fails when the external network has multiple IPv4...
Keywords:
Status: CLOSED DUPLICATE of bug 1780620
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Chandan Kumar
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-06 14:36 UTC by Mauro Oddi
Modified: 2019-12-10 10:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-10 10:20:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mauro Oddi 2019-12-06 14:36:20 UTC
Description of problem:
Tempest smoke test expects that the external network has only on IPv4 subnet, however in some corner cases there is a

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

How reproducible:
always

Steps to Reproduce:
1. Create external network for tempest and two IPv4 subnets on it
2. Run tempest run --smoke


Actual results:
test fails

Expected results:
tests finihses

Additional info:

tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops[compute,id-f323b3ba-82f8-4db7-8ea6-6a895869ec49,netw
ork,smoke]
---------------------------------------------------------------------------------------------------------------------------------------
----------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/tempest/common/utils/__init__.py", line 88, in wrapper
        return f(*func_args, **func_kwargs)
      File "/usr/lib/python2.7/site-packages/tempest/scenario/test_network_basic_ops.py", line 409, in test_network_basic_ops
        self._check_network_external_connectivity()
      File "/usr/lib/python2.7/site-packages/tempest/scenario/test_network_basic_ops.py", line 342, in _check_network_external_connecti
vity
        "Found %d IPv4 subnets" % len(v4_subnets))
      File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: 1 != 3: Found 3 IPv4 subnets

Comment 1 Martin Kopec 2019-12-09 12:10:37 UTC
What version is this BZ mean for? Or is it just duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1780620 ?

Comment 2 Mauro Oddi 2019-12-09 16:58:29 UTC
Hi Martin,

Sorry for the confusion, apparently something got messed up during the creation of the BZ.
We can close this one.

Cheers,
MO

Comment 3 Martin Kopec 2019-12-10 10:20:47 UTC
sure, no problem, so I'm closing it as duplicate

*** This bug has been marked as a duplicate of bug 1780620 ***


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