From 5d2bce6f3258258cba15ff51f1ced50bef477fdc Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 17 Jan 2023 08:05:11 -0500 Subject: [PATCH 1/4] DO NOT MERGE: Try to reproduce wheel failures --- ci/scripts/python_wheel_unix_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/python_wheel_unix_test.sh b/ci/scripts/python_wheel_unix_test.sh index e0d2b808e297..b840401e3329 100755 --- a/ci/scripts/python_wheel_unix_test.sh +++ b/ci/scripts/python_wheel_unix_test.sh @@ -89,7 +89,8 @@ if [ "${CHECK_UNITTESTS}" == "ON" ]; then # Install testing dependencies pip install -U -r ${source_dir}/python/requirements-wheel-test.txt + 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 From ba6747f17dbe678cfc8f4bed2150e8c1afcf9ebf Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 17 Jan 2023 08:41:39 -0500 Subject: [PATCH 2/4] newer ubuntu --- ci/scripts/python_wheel_unix_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/scripts/python_wheel_unix_test.sh b/ci/scripts/python_wheel_unix_test.sh index b840401e3329..aab5fd6a5b6f 100755 --- a/ci/scripts/python_wheel_unix_test.sh +++ b/ci/scripts/python_wheel_unix_test.sh @@ -89,6 +89,9 @@ 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 + sudo apt install glibc-tools || true + export PYTHONFAULTHANDLER=1 # Execute unittest, test dependencies must be installed python -c 'import pyarrow; pyarrow.create_library_symlinks()' From e43a05b9479d91fd4c834ec578bab3cef5dd9ad6 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 17 Jan 2023 08:42:16 -0500 Subject: [PATCH 3/4] newer ubuntu --- ci/scripts/python_wheel_unix_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/python_wheel_unix_test.sh b/ci/scripts/python_wheel_unix_test.sh index aab5fd6a5b6f..138ce82113db 100755 --- a/ci/scripts/python_wheel_unix_test.sh +++ b/ci/scripts/python_wheel_unix_test.sh @@ -90,7 +90,8 @@ if [ "${CHECK_UNITTESTS}" == "ON" ]; then pip install -U -r ${source_dir}/python/requirements-wheel-test.txt # Not on newer Ubuntu by default - sudo apt install glibc-tools || true + apt update || true + apt install glibc-tools || true export PYTHONFAULTHANDLER=1 # Execute unittest, test dependencies must be installed From dc0137218046de795d116eccf03d5044b0f31759 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 17 Jan 2023 08:42:35 -0500 Subject: [PATCH 4/4] newer ubuntu --- ci/scripts/python_wheel_unix_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/python_wheel_unix_test.sh b/ci/scripts/python_wheel_unix_test.sh index 138ce82113db..d02a4a622382 100755 --- a/ci/scripts/python_wheel_unix_test.sh +++ b/ci/scripts/python_wheel_unix_test.sh @@ -91,7 +91,7 @@ if [ "${CHECK_UNITTESTS}" == "ON" ]; then # Not on newer Ubuntu by default apt update || true - apt install glibc-tools || true + apt install -y glibc-tools || true export PYTHONFAULTHANDLER=1 # Execute unittest, test dependencies must be installed