Tempest basic ops test_cross_tenant_traffic tests failed on fs020 train with Timed out waiting for 10.0.0.102 to become reachable from 10.0.0.117

Bug #1856016 reported by chandan kumar
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
chandan kumar

Bug Description

Periodic fs020 train job got failed while running basic ops tests.

http://logs.rdoproject.org/openstack-periodic-latest-released/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-1ctlr_2comp-featureset020-train/7e12b11/logs/undercloud/var/log/tempest/tempest_run.log.txt.gz

tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps.test_cross_tenant_traffic[compute,id-e79f879e-debb-440c-a7e4-efeda05b6848,network]
-------------------------------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
        return f(*func_args, **func_kwargs)
      File "/usr/lib/python2.7/site-packages/tempest/scenario/test_security_groups_basic_ops.py", line 508, in test_cross_tenant_traffic
        self._test_cross_tenant_allow(source_tenant, dest_tenant, ruleset)
      File "/usr/lib/python2.7/site-packages/tempest/scenario/test_security_groups_basic_ops.py", line 424, in _test_cross_tenant_allow
        self.check_remote_connectivity(access_point_ssh, ip, protocol=protocol)
      File "/usr/lib/python2.7/site-packages/tempest/scenario/manager.py", line 1078, in check_remote_connectivity
        self.fail(msg)
      File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
        raise self.failureException(msg)
    AssertionError: Timed out waiting for 10.0.0.102 to become reachable from 10.0.0.117

It traied to ping 10.0.0.102 that ip but always there is a packet loss.

 1 packets transmitted, 0 packets received, 100% packet loss

    2019-12-11 02:37:39,592 307032 WARNING [tempest.scenario.manager] Failed to check icmp connectivity for IP 10.0.0.102 via a ssh connection from: 10.0.0.117.
    2019-12-11 02:37:40,593 307032 DEBUG [tempest.lib.common.utils.linux.remote_client] Remote command: set -eu -o pipefail; PATH=$PATH:/sbin:/usr/sbin; ping -c1 -w1 -s56 10.0.0.102
    2019-12-11 02:37:40,594 307032 INFO [tempest.lib.common.ssh] Creating ssh connection to '10.0.0.117:22' as 'cirros' with public key authentication
    2019-12-11 02:37:40,653 307032 INFO [paramiko.transport] Connected (version 2.0, client dropbear_2015.67)
    2019-12-11 02:37:40,972 307032 INFO [paramiko.transport] Authentication (publickey) successful!
    2019-12-11 02:37:41,001 307032 INFO [tempest.lib.common.ssh] ssh connection to cirros@10.0.0.117 successfully created
    2019-12-11 02:37:42,204 307032 ERROR [tempest.lib.common.utils.linux.remote_client] (TestSecurityGroupsBasicOps:test_cross_tenant_traffic) Executing command on 10.0.0.117 failed. Error: Command 'set -eu -o pipefail; PATH=$PATH:/sbin:/usr/sbin; ping -c1 -w1 -s56 10.0.0.102' failed, exit status: 1, stderr:

I checked the neutron and ovn logs nothing interesting found, adding more info as got more.

Revision history for this message
chandan kumar (chkumar246) wrote :

Not sure it is linked https://review.opendev.org/#/c/697106/ Use public network for external interface?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart-extras (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/698435

Revision history for this message
Marios Andreou (marios-b) wrote :

per https://bugs.launchpad.net/tripleo/+bug/1855985/comments/9 do we want to combine these into one bug (and make it more about the race in the tests if that is the root cause)

Revision history for this message
chandan kumar (chkumar246) wrote :

Yes, moving this bug to https://bugs.launchpad.net/tripleo/+bug/1855985 and closing it

Changed in tripleo:
status: Confirmed → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by Chandan Kumar (raukadah) (<email address hidden>) on branch: master
Review: https://review.opendev.org/698435

Revision history for this message
chandan kumar (chkumar246) wrote :
Changed in tripleo:
status: Won't Fix → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/698435
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=c7eb7180a93fbb11a6aac9404b5edf82032c2310
Submitter: Zuul
Branch: master

commit c7eb7180a93fbb11a6aac9404b5edf82032c2310
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Wed Dec 11 15:19:11 2019 +0530

    [Train] Move list_agent and traffic tests to skip list.

    It is blocking our train promotion till then putting it in
    skip list.

    Related-Bug: #1856016
    Related-Bug: #1855985

    Change-Id: I0102c39c7ac8123d365a8fb34684615754e79b05
    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>

Changed in tripleo:
milestone: ussuri-1 → ussuri-2
Revision history for this message
wes hayutin (weshayutin) wrote :
wes hayutin (weshayutin)
tags: removed: alert
Revision history for this message
chandan kumar (chkumar246) wrote :

@wes, It is a different issue. We may need to update tempest tag here and see the results .

Revision history for this message
chandan kumar (chkumar246) wrote :

I am seeing a similar issue got fixed recently in neutron https://bugs.launchpad.net/tempest/+bug/1728886 and it enables the test https://review.opendev.org/#/c/702250/

Revision history for this message
chandan kumar (chkumar246) wrote :
wes hayutin (weshayutin)
Changed in tripleo:
status: Confirmed → Triaged
Revision history for this message
chandan kumar (chkumar246) wrote :

https://logserver.rdoproject.org/openstack-periodic-latest-released/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-1ctlr_2comp-featureset021-train/0727c1b/logs/undercloud/var/log/tempest/tempest_run.log.txt.gz

{0} tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps.test_cross_tenant_traffic [219.765215s] ... ok test is passing now, removing from skip list

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.opendev.org/706770

Changed in tripleo:
assignee: nobody → chandan kumar (chkumar246)
status: Triaged → In Progress
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/706770
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=9e8f80b06de88e2a51db474cbfd9b7e1d6022a64
Submitter: Zuul
Branch: master

commit 9e8f80b06de88e2a51db474cbfd9b7e1d6022a64
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon Feb 10 15:21:47 2020 +0530

    Unskip test_cross_tenant_traffic tempest test

    It has started passing since we had updated tempest version
    to 23.0.0 in Train.

    Closes-Bug: #1856016

    Change-Id: I98fdb2912c33a69aa543cf361a42664a782e7707
    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Marios Andreou (marios-b) wrote :
Changed in tripleo:
status: Fix Released → Triaged
Revision history for this message
Marios Andreou (marios-b) wrote :

tripleo-quickstart-extras master: Revert "Unskip test_cross_tenant_traffic tempest test" https://review.opendev.org/708137

Revision history for this message
Marios Andreou (marios-b) wrote :

waiting for the revert to merge from comment #16 (blocked on https://bugs.launchpad.net/tripleo/+bug/1863629/comments/6 but the fix merged so recheck should clear it let's see)

Revision history for this message
Marios Andreou (marios-b) wrote :

https://review.opendev.org/#/c/708137/ merged so we are now skipping 'tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps.test_cross_tenant_traffic'

looks green again at https://review.rdoproject.org/zuul/builds?job_name=periodic-tripleo-ci-centos-7-ovb-1ctlr_2comp-featureset020-train

wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.