-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-10.1
-
None
-
No
-
Low
-
rhel-net-core
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
What were you trying to do that didn't work?
teardown() tries to cleanup /proc dir and cannot exit normally when misses required tool.
I proposed a pr in upstream: https://github.com/xdp-project/xdp-tools/pull/516
It is timeout when missing pkgs in our test on aws (test_xdp_tools_run_tests),
2025-07-13 09:40:04,256:INFO:CMD: sudo /usr/share/xdp-tools/run_tests.sh on ec2-35-160-219-14.us-west-2.compute.amazonaws.com 2025-07-13 09:40:04,256:INFO:Run on remote: sudo /usr/share/xdp-tools/run_tests.sh 2025-07-13 09:55:04,534:INFO:Timeout to run cmd 900s 2025-07-13 09:55:04,534:INFO:cmd err: Executing tests in separate net- and mount namespaces Missing required tool: socat 2025-07-13 09:55:04,534:INFO:CMD ret: -1 out:Running all tests from /usr/share/xdp-tools/tests Executing tests in separate net- and mount namespaces Missing required tool: socat
What is the impact of this issue to you?
The command cannot exit when missing dependency.
Please provide the package NVR for which the bug is seen:
xdp-tools-1.5.5-1.el10.x86_64
How reproducible is this bug?:
Steps to reproduce
- yum install -y xdp-tools wireshark-cli tcpdump nmap-ncat
- /usr/share/xdp-tools/run_tests.sh
Expected results
test exits when some dependency is missing
Actual results
command got stuck at cleanup "/proc"