← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1982206] Re: stable: Neutron unit tests timeout on stable/ussuri and stable/victoria (perhaps wallaby also)

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/850670
Committed: https://opendev.org/openstack/neutron/commit/119b82f1b10df50a696e936e80672c7ddb00436f
Submitter: "Zuul (22348)"
Branch:    master

commit 119b82f1b10df50a696e936e80672c7ddb00436f
Author: elajkat <lajos.katona@xxxxxxxx>
Date:   Thu Jul 21 16:53:45 2022 +0200

    Test: mock out _check_netfilter_for_bridges in unit tests
    
    _check_netfilter_for_bridges do some calls which are not for unit tests.
    Specifically the call for sysctl -N net.bridge seems to be broken with
    a recent kernel upgrade on bionic (see the irc log for this discussion
    in [1]).
    Add OS_TEST_TIMEOUT:180 to tox testenv, this can help to debug such
    issues.
    During the rootwrap to privsep change some of these mocks were added,
    (see [2]) so backporting (before Wallaby mostly) can be done with
    caution.
    
    [1]: https://meetings.opendev.org/irclogs/%23openstack-infra/%23openstack-infra.2022-07-20.log.html#t2022-07-20T12:59:32
    [2]: https://review.opendev.org/c/openstack/neutron/+/764015/12/neutron/tests/unit/agent/linux/openvswitch_firewall/test_iptables.py
    
    Change-Id: Ic366d67770cc6e19a4412eaf2f1ab53780e98ee8
    Closes-Bug: #1982206


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1982206

Title:
  stable: Neutron unit tests timeout on stable/ussuri and
  stable/victoria (perhaps wallaby also)

Status in neutron:
  Fix Released

Bug description:
  On stable branches the unit tests fail with time out on Ussuri and
  Victoria branches (on Wallaby there's also a timeout but it has
  different log, so perhaps just an accident, see [3])

  The periodic jobs show the issue and my test patch also (see [1] and
  [2])

  
  The timeout happens with this pattern, always after the test test_two_member_trailing_chain:
  2022-07-19 02:48:57.591352 | ubuntu-focal | {1} neutron.tests.unit.test_wsgi.TestWSGIServer.test_disable_ssl [0.039549s] ... ok
  2022-07-19 02:48:57.613094 | ubuntu-focal | {1} neutron.tests.unit.tests.test_post_mortem_debug.TestGetIgnoredTraceback.test_two_member_trailing_chain [0.021062s] ... ok
  2022-07-19 03:05:57.910628 | RUN END RESULT_TIMED_OUT: [untrusted : opendev.org/zuul/zuul-jobs/playbooks/tox/run.yaml@master]
  2022-07-19 03:05:57.926082 | POST-RUN START: [untrusted : opendev.org/zuul/zuul-jobs/playbooks/tox/post.yaml@master]

  
  [1]: https://lists.openstack.org/pipermail/openstack-stable-maint/2022-July/094216.html
  [2]: https://72340191a2149eb73d49-2d27e805ff456f7d0a585c8eee091a7d.ssl.cf2.rackcdn.com/850391/1/check/openstack-tox-py37/9ab5c3a/job-output.txt
  [3]: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_f2a/periodic-stable/opendev.org/openstack/neutron/stable/wallaby/openstack-tox-py38/f2a3976/job-output.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1982206/+subscriptions



References