diff --git a/ci/scripts/python_wheel_unix_test.sh b/ci/scripts/python_wheel_unix_test.sh index e0d2b808e297..d02a4a622382 100755 --- a/ci/scripts/python_wheel_unix_test.sh +++ b/ci/scripts/python_wheel_unix_test.sh @@ -89,7 +89,12 @@ if [ "${CHECK_UNITTESTS}" == "ON" ]; then # Install testing dependencies pip install -U -r ${source_dir}/python/requirements-wheel-test.txt + # Not on newer Ubuntu by default + apt update || true + apt install -y glibc-tools || true + + export PYTHONFAULTHANDLER=1 # Execute unittest, test dependencies must be installed python -c 'import pyarrow; pyarrow.create_library_symlinks()' - python -m pytest -r s --pyargs pyarrow + catchsegv python -m pytest -r s --pyargs pyarrow fi