Bug 1392909 - functional test test_get_root_helper_child_pid_returns_first_child failing
Summary: functional test test_get_root_helper_child_pid_returns_first_child failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: async
: 8.0 (Liberty)
Assignee: Assaf Muller
QA Contact: GenadiC
URL:
Whiteboard:
Depends On:
Blocks: 1390529 1393412
TreeView+ depends on / blocked
 
Reported: 2016-11-08 13:10 UTC by anil venkata
Modified: 2019-09-10 14:07 UTC (History)
5 users (show)

Fixed In Version: openstack-neutron-7.2.0-2.el7ost.src.rpm
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1393412 (view as bug list)
Environment:
Last Closed: 2016-12-21 16:46:11 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2988 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2016-12-21 21:35:02 UTC

Description anil venkata 2016-11-08 13:10:19 UTC
Description of problem:

https://rhos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/neutron-dsvm-functional-rhos-coreci/1233/console

The following functional test is failing consistently on OSP8 on our internal CI.

neutron.tests.functional.agent.linux.test_utils.TestGetRootHelperChildPid.test_get_root_helper_child_pid_returns_first_child

15:09:03 Captured traceback:
15:09:03 ~~~~~~~~~~~~~~~~~~~
15:09:03     Traceback (most recent call last):
15:09:03       File "neutron/tests/functional/agent/linux/test_utils.py", line 90, in test_get_root_helper_child_pid_returns_first_child
15:09:03         sleep=0.1)
15:09:03       File "neutron/agent/linux/utils.py", line 345, in wait_until_true
15:09:03         while not predicate():
15:09:03       File "neutron/tests/functional/agent/linux/test_utils.py", line 73, in wait_for_sleep_is_spawned
15:09:03         ['pstree', parent_pid], check_exit_code=False)
15:09:03       File "neutron/agent/linux/utils.py", line 120, in execute
15:09:03         addl_env=addl_env)
15:09:03       File "neutron/agent/linux/utils.py", line 89, in create_process
15:09:03         stderr=subprocess.PIPE)
15:09:03       File "neutron/common/utils.py", line 202, in subprocess_popen
15:09:03         close_fds=close_fds, env=env)
15:09:03       File "/usr/lib/python2.7/site-packages/eventlet/green/subprocess.py", line 53, in __init__
15:09:03         subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
15:09:03       File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
15:09:03         errread, errwrite)
15:09:03       File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
15:09:03         raise child_exception
15:09:03     OSError: [Errno 2] No such file or directory
15:09:03     


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Assaf Muller 2016-11-08 13:18:18 UTC
Is 'pstree' installed on the system? If not, do we have in our test subpackage requirements?

Comment 4 GenadiC 2016-11-21 12:33:07 UTC
Verified in openstack-neutron-7.2.0-5.el7ost.noarch

Comment 6 errata-xmlrpc 2016-12-21 16:46:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2988.html


Note You need to log in before you can comment on or make changes to this bug.