← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1693931] [NEW] functional test_next_port_closed test case failed with ProcessExecutionError when killing netcat

 

Public bug reported:

It's newton.

http://logs.openstack.org/27/467427/1/check/gate-neutron-dsvm-
functional-ubuntu-xenial/2860749/testr_results.html.gz


Traceback (most recent call last):
  File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/fixture.py", line 125, in cleanUp
    return self._cleanups(raise_errors=raise_first)
  File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/callmany.py", line 89, in __call__
    reraise(error[0], error[1], error[2])
  File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/callmany.py", line 83, in __call__
    cleanup(*args, **kwargs)
  File "neutron/tests/common/conn_testers.py", line 103, in cleanup
    nc.stop_processes()
  File "neutron/tests/common/net_helpers.py", line 508, in stop_processes
    proc.kill()
  File "neutron/tests/common/net_helpers.py", line 261, in kill
    utils.execute(['kill', '-%d' % sig, pid], run_as_root=True)
  File "neutron/agent/linux/utils.py", line 148, in execute
    raise ProcessExecutionError(msg, returncode=returncode)
neutron.agent.linux.utils.ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr:

In test log, we see:

2017-05-24 01:18:15.766 12435 DEBUG neutron.agent.linux.utils [req-110582f4-e8e8-4df0-a516-38de7479450b - - - - -] Running command (rootwrap daemon): ['kill', '-9', '31781'] execute_rootwrap_daemon neutron/agent/linux/utils.py:105
2017-05-24 01:18:15.783 12435 ERROR neutron.agent.linux.utils [req-110582f4-e8e8-4df0-a516-38de7479450b - - - - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: 

The PID is not mentioned in syslog.

** Affects: neutron
     Importance: Medium
         Status: Confirmed


** Tags: functional-tests gate-failure

** Tags added: gate-failure

** Tags added: functional-tests

** Changed in: neutron
   Importance: Undecided => High

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
   Importance: High => Medium

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

Title:
  functional test_next_port_closed test case failed with
  ProcessExecutionError when killing netcat

Status in neutron:
  Confirmed

Bug description:
  It's newton.

  http://logs.openstack.org/27/467427/1/check/gate-neutron-dsvm-
  functional-ubuntu-xenial/2860749/testr_results.html.gz

  
  Traceback (most recent call last):
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/fixture.py", line 125, in cleanUp
      return self._cleanups(raise_errors=raise_first)
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/callmany.py", line 89, in __call__
      reraise(error[0], error[1], error[2])
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/callmany.py", line 83, in __call__
      cleanup(*args, **kwargs)
    File "neutron/tests/common/conn_testers.py", line 103, in cleanup
      nc.stop_processes()
    File "neutron/tests/common/net_helpers.py", line 508, in stop_processes
      proc.kill()
    File "neutron/tests/common/net_helpers.py", line 261, in kill
      utils.execute(['kill', '-%d' % sig, pid], run_as_root=True)
    File "neutron/agent/linux/utils.py", line 148, in execute
      raise ProcessExecutionError(msg, returncode=returncode)
  neutron.agent.linux.utils.ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr:

  In test log, we see:

  2017-05-24 01:18:15.766 12435 DEBUG neutron.agent.linux.utils [req-110582f4-e8e8-4df0-a516-38de7479450b - - - - -] Running command (rootwrap daemon): ['kill', '-9', '31781'] execute_rootwrap_daemon neutron/agent/linux/utils.py:105
  2017-05-24 01:18:15.783 12435 ERROR neutron.agent.linux.utils [req-110582f4-e8e8-4df0-a516-38de7479450b - - - - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: 

  The PID is not mentioned in syslog.

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


Follow ups