← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1744402] [NEW] fullstack security groups test fails because ncat process don't starts

 

Public bug reported:

Sometimes fullstack test
neutron.tests.fullstack.test_securitygroup.TestSecurityGroupsSameNetwork
fails because "ncat" process don't starts properly:

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "neutron/tests/base.py", line 132, in func
        return f(self, *args, **kwargs)
      File "neutron/tests/fullstack/test_securitygroup.py", line 163, in test_securitygroup
        net_helpers.NetcatTester.TCP)
      File "neutron/tests/fullstack/test_securitygroup.py", line 68, in assert_connection
        self.assertTrue(netcat.test_connectivity())
      File "neutron/tests/common/net_helpers.py", line 509, in test_connectivity
        self.client_process.writeline(testing_string)
      File "neutron/tests/common/net_helpers.py", line 459, in client_process
        self.establish_connection()
      File "neutron/tests/common/net_helpers.py", line 489, in establish_connection
        address=self.address)
      File "neutron/tests/common/net_helpers.py", line 537, in _spawn_nc_in_namespace
        proc = RootHelperProcess(cmd, namespace=namespace)
      File "neutron/tests/common/net_helpers.py", line 288, in __init__
        self._wait_for_child_process()
      File "neutron/tests/common/net_helpers.py", line 321, in _wait_for_child_process
        "in %d seconds" % (self.cmd, timeout)))
      File "neutron/common/utils.py", line 649, in wait_until_true
        raise exception
    RuntimeError: Process ['ncat', u'20.0.0.5', '3333', '-w', '20'] hasn't been spawned in 20 seconds

** Affects: neutron
     Importance: High
         Status: Confirmed


** Tags: fullstack

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

Title:
  fullstack security groups test fails because ncat process don't starts

Status in neutron:
  Confirmed

Bug description:
  Sometimes fullstack test
  neutron.tests.fullstack.test_securitygroup.TestSecurityGroupsSameNetwork
  fails because "ncat" process don't starts properly:

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "neutron/tests/base.py", line 132, in func
          return f(self, *args, **kwargs)
        File "neutron/tests/fullstack/test_securitygroup.py", line 163, in test_securitygroup
          net_helpers.NetcatTester.TCP)
        File "neutron/tests/fullstack/test_securitygroup.py", line 68, in assert_connection
          self.assertTrue(netcat.test_connectivity())
        File "neutron/tests/common/net_helpers.py", line 509, in test_connectivity
          self.client_process.writeline(testing_string)
        File "neutron/tests/common/net_helpers.py", line 459, in client_process
          self.establish_connection()
        File "neutron/tests/common/net_helpers.py", line 489, in establish_connection
          address=self.address)
        File "neutron/tests/common/net_helpers.py", line 537, in _spawn_nc_in_namespace
          proc = RootHelperProcess(cmd, namespace=namespace)
        File "neutron/tests/common/net_helpers.py", line 288, in __init__
          self._wait_for_child_process()
        File "neutron/tests/common/net_helpers.py", line 321, in _wait_for_child_process
          "in %d seconds" % (self.cmd, timeout)))
        File "neutron/common/utils.py", line 649, in wait_until_true
          raise exception
      RuntimeError: Process ['ncat', u'20.0.0.5', '3333', '-w', '20'] hasn't been spawned in 20 seconds

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


Follow ups