@@ -153,25 +153,25 @@ verify_dir_artifact_signatures() {
153
153
# verify the signature and the checksums of each artifact
154
154
find $1 -name ' *.asc' | while read sigfile; do
155
155
artifact=${sigfile/ .asc/ }
156
- gpg --verify $sigfile $artifact || exit 1
156
+ gpg --verify $sigfile $artifact
157
157
158
158
# go into the directory because the checksum files contain only the
159
159
# basename of the artifact
160
160
pushd $( dirname $artifact )
161
161
base_artifact=$( basename $artifact )
162
162
if [ -f $base_artifact .sha256 ]; then
163
- ${sha256_verify} $base_artifact .sha256 || exit 1
163
+ ${sha256_verify} $base_artifact .sha256
164
164
fi
165
165
if [ -f $base_artifact .sha512 ]; then
166
- ${sha512_verify} $base_artifact .sha512 || exit 1
166
+ ${sha512_verify} $base_artifact .sha512
167
167
fi
168
168
popd
169
169
done
170
170
}
171
171
172
172
test_binary () {
173
173
show_header " Testing binary artifacts"
174
- maybe_setup_conda || exit 1
174
+ maybe_setup_conda
175
175
176
176
local download_dir=binaries
177
177
mkdir -p ${download_dir}
@@ -565,7 +565,7 @@ maybe_setup_nodejs() {
565
565
test_package_java () {
566
566
show_header " Build and test Java libraries"
567
567
568
- maybe_setup_conda maven openjdk || exit 1
568
+ maybe_setup_conda maven openjdk
569
569
570
570
pushd java
571
571
if [ ${TEST_JAVA} -gt 0 ]; then
@@ -579,15 +579,15 @@ test_and_install_cpp() {
579
579
show_header " Build, install and test C++ libraries"
580
580
581
581
# Build and test C++
582
- maybe_setup_virtualenv numpy || exit 1
582
+ maybe_setup_virtualenv numpy
583
583
maybe_setup_conda \
584
584
--file ci/conda_env_unix.txt \
585
585
--file ci/conda_env_cpp.txt \
586
586
--file ci/conda_env_gandiva.txt \
587
587
ncurses \
588
588
numpy \
589
589
sqlite \
590
- compilers || exit 1
590
+ compilers
591
591
592
592
if [ " ${USE_CONDA} " -gt 0 ]; then
593
593
DEFAULT_DEPENDENCY_SOURCE=" CONDA"
@@ -671,8 +671,8 @@ test_python() {
671
671
show_header " Build and test Python libraries"
672
672
673
673
# Build and test Python
674
- maybe_setup_virtualenv " cython>=0.29.31" numpy " setuptools_scm<8.0.0" setuptools || exit 1
675
- maybe_setup_conda --file ci/conda_env_python.txt || exit 1
674
+ maybe_setup_virtualenv " cython>=0.29.31" numpy " setuptools_scm<8.0.0" setuptools
675
+ maybe_setup_conda --file ci/conda_env_python.txt
676
676
677
677
if [ " ${USE_CONDA} " -gt 0 ]; then
678
678
CMAKE_PREFIX_PATH=" ${CONDA_BACKUP_CMAKE_PREFIX_PATH} :${CMAKE_PREFIX_PATH} "
@@ -746,8 +746,8 @@ test_glib() {
746
746
show_header " Build and test C GLib libraries"
747
747
748
748
# Build and test C GLib
749
- maybe_setup_conda glib gobject-introspection meson ninja ruby || exit 1
750
- maybe_setup_virtualenv meson || exit 1
749
+ maybe_setup_conda glib gobject-introspection meson ninja ruby
750
+ maybe_setup_virtualenv meson
751
751
752
752
# Install bundler if doesn't exist
753
753
if ! bundle --version; then
@@ -781,8 +781,8 @@ test_ruby() {
781
781
show_header " Build and test Ruby libraries"
782
782
783
783
# required dependencies are installed by test_glib
784
- maybe_setup_conda || exit 1
785
- maybe_setup_virtualenv || exit 1
784
+ maybe_setup_conda
785
+ maybe_setup_virtualenv
786
786
787
787
which ruby
788
788
which bundle
@@ -844,8 +844,8 @@ test_csharp() {
844
844
test_js () {
845
845
show_header " Build and test JavaScript libraries"
846
846
847
- maybe_setup_nodejs || exit 1
848
- maybe_setup_conda nodejs=18 || exit 1
847
+ maybe_setup_nodejs
848
+ maybe_setup_conda nodejs=18
849
849
850
850
if ! command -v yarn & > /dev/null; then
851
851
npm install yarn
@@ -867,8 +867,8 @@ test_js() {
867
867
test_go () {
868
868
show_header " Build and test Go libraries"
869
869
870
- maybe_setup_go || exit 1
871
- maybe_setup_conda compilers go=1.19 || exit 1
870
+ maybe_setup_go
871
+ maybe_setup_conda compilers go=1.19
872
872
873
873
pushd go
874
874
go get -v ./...
@@ -900,8 +900,8 @@ test_go() {
900
900
test_integration () {
901
901
show_header " Build and execute integration tests"
902
902
903
- maybe_setup_conda || exit 1
904
- maybe_setup_virtualenv || exit 1
903
+ maybe_setup_conda
904
+ maybe_setup_virtualenv
905
905
906
906
pip install -e dev/archery[integration]
907
907
@@ -1067,8 +1067,10 @@ test_linux_wheels() {
1067
1067
local pyver=${python/ m}
1068
1068
for platform in ${platform_tags} ; do
1069
1069
show_header " Testing Python ${pyver} wheel for platform ${platform} "
1070
- CONDA_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_conda || exit 1
1071
- VENV_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_virtualenv || continue
1070
+ CONDA_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_conda
1071
+ if ! VENV_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_virtualenv; then
1072
+ continue
1073
+ fi
1072
1074
pip install pyarrow-${TEST_PYARROW_VERSION:- ${VERSION} } -cp${pyver/ .} -cp${python/ .} -${platform} .whl
1073
1075
INSTALL_PYARROW=OFF ARROW_GCS=${check_gcs} ${ARROW_DIR} /ci/scripts/python_wheel_unix_test.sh ${ARROW_SOURCE_DIR}
1074
1076
done
@@ -1100,8 +1102,10 @@ test_macos_wheels() {
1100
1102
check_s3=OFF
1101
1103
fi
1102
1104
1103
- CONDA_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_conda || exit 1
1104
- VENV_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_virtualenv || continue
1105
+ CONDA_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_conda
1106
+ if ! VENV_ENV=wheel-${pyver} -${platform} PYTHON_VERSION=${pyver} maybe_setup_virtualenv; then
1107
+ continue
1108
+ fi
1105
1109
1106
1110
pip install pyarrow-${VERSION} -cp${pyver/ .} -cp${python/ .} -${platform} .whl
1107
1111
INSTALL_PYARROW=OFF ARROW_FLIGHT=${check_flight} ARROW_GCS=${check_gcs} ARROW_S3=${check_s3} \
@@ -1112,7 +1116,7 @@ test_macos_wheels() {
1112
1116
1113
1117
test_wheels () {
1114
1118
show_header " Downloading Python wheels"
1115
- maybe_setup_conda python || exit 1
1119
+ maybe_setup_conda python
1116
1120
1117
1121
local wheels_dir=
1118
1122
if [ " ${SOURCE_KIND} " = " local" ]; then
@@ -1151,7 +1155,7 @@ test_wheels() {
1151
1155
1152
1156
test_jars () {
1153
1157
show_header " Testing Java JNI jars"
1154
- maybe_setup_conda maven python || exit 1
1158
+ maybe_setup_conda maven python
1155
1159
1156
1160
local download_dir=${ARROW_TMPDIR} /jars
1157
1161
mkdir -p ${download_dir}
0 commit comments