Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.2.0
-
None
-
ghx-label-5
Description
The TestKrpcSocket tests need netstat to be installed. Otherwise, they fail with:
custom_cluster/test_krpc_socket.py:109: in test_krpc_uds_address_backend_id rc, netstat_output, stderr = exec_process("netstat -lnt") util/shell_util.py:43: in exec_process p = exec_process_async(cmd) util/shell_util.py:54: in exec_process_async return Popen(shlex.split(cmd), shell=False, stdout=PIPE, stderr=PIPE) ../toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/lib/python2.7/subprocess.py:394: in __init__ errread, errwrite) ../toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/lib/python2.7/subprocess.py:1047: in _execute_child raise child_exception E OSError: [Errno 2] No such file or directory
For Ubuntu, this is provided by the "net-tools" package, but that package is currently not a dependency in bin/bootstrap_system.sh. We should add it to the list. We may need an equivalent for other distributions as well.