Tempest network scenario test fails on rhel8 host because "No such file or directory: 'ping': 'ping'"

Bug #1840645 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
chandan kumar

Bug Description

Tempest network scenario test fails on rhel8 host because "No such file or directory: 'ping': 'ping'"

tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops
Captured traceback:
2019-08-17 15:00:27 | ~~~~~~~~~~~~~~~~~~~
2019-08-17 15:00:27 | b'Traceback (most recent call last):'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper'
2019-08-17 15:00:27 | b' return f(*func_args, **func_kwargs)'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/scenario/test_network_basic_ops.py", line 413, in test_network_basic_ops'
2019-08-17 15:00:27 | b' self._check_public_network_connectivity(should_connect=True)'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/scenario/test_network_basic_ops.py", line 213, in _check_public_network_connectivity'
2019-08-17 15:00:27 | b' message, server, mtu=mtu)'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/scenario/manager.py", line 723, in check_vm_connectivity'
2019-08-17 15:00:27 | b' mtu=mtu, server=server),'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/scenario/manager.py", line 680, in ping_ip_address'
2019-08-17 15:00:27 | b' result = test_utils.call_until_true(ping, timeout, 1)'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/lib/common/utils/test_utils.py", line 107, in call_until_true'
2019-08-17 15:00:27 | b' if func(*args, **kwargs):'
2019-08-17 15:00:27 | b' File "/usr/lib/python3.6/site-packages/tempest/scenario/manager.py", line 668, in ping'
2019-08-17 15:00:27 | b' stderr=subprocess.PIPE)'
2019-08-17 15:00:27 | b' File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__'
2019-08-17 15:00:27 | b' restore_signals, start_new_session)'
2019-08-17 15:00:27 | b' File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child'
2019-08-17 15:00:27 | b' raise child_exception_type(errno_num, err_msg, err_filename)'
2019-08-17 15:00:27 | b"FileNotFoundError: [Errno 2] No such file or directory: 'ping': 'ping'"
2019-08-17 15:00:27 | b''

http://logs.rdoproject.org/49/21649/39/check/periodic-tripleo-ci-rhel-8-ovb-3ctlr_1comp-featureset001-master/5e8869a/logs/undercloud/home/zuul/tempest.log.txt.gz

Tags: tempest
Changed in tripleo:
assignee: nobody → chandan kumar (chkumar246)
Revision history for this message
chandan kumar (chkumar246) wrote :

I have checked RHUI container and found that ping command is not there, we need to install iputils there in the tempest container image.

Revision history for this message
chandan kumar (chkumar246) wrote :

Attaching the same from tempest container : http://paste.openstack.org/show/759852/

tags: added: tempest
Revision history for this message
chandan kumar (chkumar246) wrote :
Changed in tripleo:
status: Triaged → Fix Committed
Revision history for this message
chandan kumar (chkumar246) wrote :
Changed in tripleo:
status: Fix Committed → Fix Released
Changed in tripleo:
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.0.0.0rc1

This issue was fixed in the openstack/kolla 9.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.