Bug 1392909

Summary: functional test test_get_root_helper_child_pid_returns_first_child failing
Product: Red Hat OpenStack Reporter: anil venkata <vkommadi>
Component: openstack-neutronAssignee: Assaf Muller <amuller>
Status: CLOSED ERRATA QA Contact: GenadiC <gcheresh>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: amuller, chrisw, nyechiel, srevivo, vkommadi
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-7.2.0-2.el7ost.src.rpm Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1393412 (view as bug list) Environment:
Last Closed: 2016-12-21 16:46:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1390529, 1393412    

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