Skip to content

Commit acaa38b

Browse files
committed
ci: capture backtrace for REST Arrow test failure
1 parent 9ce8848 commit acaa38b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎.github/workflows/aws_test.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,17 @@ jobs:
130130
env:
131131
CMAKE_TOOLCHAIN_FILE: ${{ startsWith(matrix.runs-on, 'ubuntu') && matrix.bundle_awssdk == 'OFF' && '/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake' || '' }}
132132
run: ci/scripts/build_iceberg.sh "$(pwd)" OFF ON ${{ matrix.s3 }} ${{ matrix.sigv4 }} ${{ matrix.bundle_awssdk }}
133+
- name: Diagnose REST Arrow test failure
134+
if: ${{ failure() && startsWith(matrix.runs-on, 'ubuntu') && matrix.bundle_awssdk == 'OFF' }}
135+
shell: bash
136+
run: |
137+
test -x build/src/iceberg/test/rest_arrow_file_io_test || exit 0
138+
sudo apt-get install -y gdb
139+
cd build
140+
timeout 120s gdb --batch \
141+
-ex 'set pagination off' -ex run -ex 'thread apply all bt' \
142+
-ex 'info sharedlibrary' \
143+
--args src/iceberg/test/rest_arrow_file_io_test
133144
- name: Save sccache
134145
if: always()
135146
uses: ./.github/actions/save-sccache

0 commit comments

Comments
 (0)