← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1652124] [NEW] netns-cleanup functional test fails on some conditions

 

Public bug reported:

We've seen this functional test failing in the gate [0] and it's due to
a bug in the helper module that was written for the functional test. [1]

The problem shows up when process_spawn is not able to find a port to
listen on and the process stays running anyways. That means that netns-
cleanup won't clean it up and this condition [2] doesn't hold (1!=0).

As per logs in the gate I can tell that it's only a bug in the
functional test but not in the module itself. I myself will submit a
patch to it right now.


[0]  http://logs.openstack.org/45/358845/24/check/gate-neutron-dsvm-functional-ubuntu-xenial/b018ed7/testr_results.html.gz

[1]
https://github.com/openstack/neutron/blob/master/neutron/tests/functional/cmd/process_spawn.py#L107

[2]
https://github.com/openstack/neutron/blob/master/neutron/tests/functional/cmd/test_netns_cleanup.py#L84

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: functional-tests gate-failure

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

Title:
  netns-cleanup functional test fails on some conditions

Status in neutron:
  New

Bug description:
  We've seen this functional test failing in the gate [0] and it's due
  to a bug in the helper module that was written for the functional
  test. [1]

  The problem shows up when process_spawn is not able to find a port to
  listen on and the process stays running anyways. That means that
  netns-cleanup won't clean it up and this condition [2] doesn't hold
  (1!=0).

  As per logs in the gate I can tell that it's only a bug in the
  functional test but not in the module itself. I myself will submit a
  patch to it right now.

  
  [0]  http://logs.openstack.org/45/358845/24/check/gate-neutron-dsvm-functional-ubuntu-xenial/b018ed7/testr_results.html.gz

  [1]
  https://github.com/openstack/neutron/blob/master/neutron/tests/functional/cmd/process_spawn.py#L107

  [2]
  https://github.com/openstack/neutron/blob/master/neutron/tests/functional/cmd/test_netns_cleanup.py#L84

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


Follow ups