Bug 1831683 - tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_port_security_macspoofing_port failing
Summary: tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_port_securit...
Keywords:
Status: CLOSED DUPLICATE of bug 1818014
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rodolfo Alonso
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-05 13:37 UTC by Eran Kuris
Modified: 2020-06-18 14:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-18 14:58:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 716355 0 None MERGED Prevent raising exception if IP address is set in _hotplug_server 2020-09-11 10:47:22 UTC

Description Eran Kuris 2020-05-05 13:37:38 UTC
Description of problem:
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_port_security_macspoofing_port is failing on our CI run 
2020-05-05 07:52:15,408 396161 INFO     [tempest.lib.common.rest_client] Request (TestNetworkBasicOps:_run_cleanups): 204 DELETE https://10.0.0.101:13696/v2.0/routers/bf3ae116-a406-4f8e-8c47-5882f95b1c63 6.766s
2020-05-05 07:52:15,408 396161 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'x-openstack-request-id': 'req-13a5c2d1-4f05-4d9d-ae6a-95615d6814a1', 'content-length': '0', 'date': 'Tue, 05 May 2020 11:52:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'https://10.0.0.101:13696/v2.0/routers/bf3ae116-a406-4f8e-8c47-5882f95b1c63'}
        Body: b''
2020-05-05 07:52:16,840 396161 INFO     [tempest.lib.common.rest_client] Request (TestNetworkBasicOps:_run_cleanups): 204 DELETE https://10.0.0.101:13696/v2.0/networks/31107608-7de3-4457-9791-317ece8e2f48 1.431s
2020-05-05 07:52:16,841 396161 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'content-length': '0', 'x-openstack-request-id': 'req-aa2bce45-836a-4eb9-aca9-61d35a8ad3b0', 'date': 'Tue, 05 May 2020 11:52:16 GMT', 'connection': 'close', 'status': '204', 'content-location': 'https://10.0.0.101:13696/v2.0/networks/31107608-7de3-4457-9791-317ece8e2f48'}
        Body: b''
}}}

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 108, in wrapper
    return func(*func_args, **func_kwargs)
  File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
    return f(*func_args, **func_kwargs)
  File "/usr/lib/python3.6/site-packages/tempest/scenario/test_network_basic_ops.py", line 855, in test_port_security_macspoofing_port
    self._hotplug_server()
  File "/usr/lib/python3.6/site-packages/tempest/scenario/test_network_basic_ops.py", line 301, in _hotplug_server
    ip_address, ip_mask, new_nic))
  File "/usr/lib/python3.6/site-packages/tempest/lib/common/utils/linux/remote_client.py", line 33, in wrapper
    return function(self, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/tempest/lib/common/utils/linux/remote_client.py", line 108, in exec_command
    return self.ssh_client.exec_command(cmd)
  File "/usr/lib/python3.6/site-packages/tempest/lib/common/ssh.py", line 204, in exec_command
    stderr=err_data, stdout=out_data)
neutron_tempest_plugin.common.utils.SSHExecCommandFailed: Command 'set -eu -o pipefail; PATH=$PATH:/sbin:/usr/sbin; sudo ip addr add 10.100.0.22/28 dev eth1' failed, exit status: 2, stderr:
RTNETLINK answers: File exists

stdout:



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

core_puddle: RHOS-16.1-RHEL-8-20200428.n.0
How reproducible:
100%

Steps to Reproduce:
1.https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/DFG-network-neutron-16.1_director-rhel-virthost-3cont_2comp-ipv4-vxlan-ml2ovs/35/testReport/tempest.scenario.test_network_basic_ops/TestNetworkBasicOps/test_port_security_macspoofing_port_compute_id_7c0bb1a2_d053_49a4_98f9_ca1a1d849f63_network_slow_/
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Bernard Cafarelli 2020-05-07 14:17:56 UTC
This may be fixed with https://review.opendev.org/#/c/716355/

Comment 4 Bernard Cafarelli 2020-06-18 14:58:21 UTC
Different test but RCA/fix is the same as bug 1818014

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


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