Skip to content

[CI][C++] arrow-azurefs-test times out on Ubuntu 22.04 test jobs #41462

Closed

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

For the last days the jobs:

have been failing with timeout

       Start 72: arrow-azurefs-test
    Test #72: arrow-azurefs-test ...........................***Timeout 300.10 sec
Running arrow-azurefs-test, redirecting output into /build/cpp/build/test-logs/arrow-azurefs-test.txt (attempt 1/1)

      Start 72: arrow-azurefs-test
    Test #72: arrow-azurefs-test ...........................***Timeout 300.01 sec
Running arrow-azurefs-test, redirecting output into /build/cpp/build/test-logs/arrow-azurefs-test.txt (attempt 1/1)

The test-ubuntu-22.04-python-3 job also started failing on the same dates and is failing on test_fs on azure test even though the stack trace doesn't say much it seems to be the same issue:

 Fatal Python error: Aborted

Current thread 0x00007f85db68a000 (most recent call first):
  File "/arrow-dev/lib/python3.10/site-packages/pyarrow/tests/test_fs.py", line 312 in azurefs
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 877 in call_fixture_func
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122 in pytest_fixture_setup
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073 in execute
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 603 in _get_active_fixturedef
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 518 in getfixturevalue
  File "/arrow-dev/lib/python3.10/site-packages/pyarrow/tests/test_fs.py", line 452 in filesystem_config
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 884 in call_fixture_func
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122 in pytest_fixture_setup
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073 in execute
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 603 in _get_active_fixturedef
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1035 in execute
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 603 in _get_active_fixturedef
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 518 in getfixturevalue
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 683 in _fillfixtures
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/python.py", line 1630 in setup
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 512 in setup
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 159 in pytest_runtest_setup
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 241 in <lambda>
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 341 in from_call
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 240 in call_and_report
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 129 in runtestprotocol
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 116 in pytest_runtest_protocol
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 364 in pytest_runtestloop
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 339 in _main
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 285 in wrap_session
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 332 in pytest_cmdline_main
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/config/__init__.py", line 178 in main
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/config/__init__.py", line 206 in console_main
  File "/arrow-dev/bin/pytest", line 8 in <module>

There were no changes related to azure when it started failing so it seems is related to infrastructure.
This also fails on the maintenance 16.1.0 branch and is a release blocker.

Component(s)

C++, Continuous Integration

Activity

  1. added this to the 16.1.0 milestone on Apr 30, 2024
  2. raulcd commented on Apr 30, 2024

    @raulcd
    MemberAuthor

    I've tried locally:

    $ UBUNTU=22.04 docker compose run --rm ubuntu-cpp
    

    and I was not able to reproduce but with:

    $ ARCHERY_DEBUG=1 ARCHERY_USE_DOCKER_CLI=1 UBUNTU=22.04 archery docker run ubuntu-cpp
    

    and (the command that archery executes):

    $ docker run --rm --shm-size 2147483648 -e ARROW_MIMALLOC=ON -e CCACHE_COMPILERCHECK=content -e CCACHE_COMPRESS=1 -e CCACHE_COMPRESSLEVEL=6 -e CCACHE_DIR=/ccache -e CCACHE_MAXSIZE=1G -e SCCACHE_S3_KEY_PREFIX=sccache -v /home/raulcd/code/arrow:/arrow -v ubuntu-ccache:/ccache apache/arrow-dev:amd64-ubuntu-22.04-cpp /bin/bash -c '  /arrow/ci/scripts/cpp_build.sh /arrow /build &&\n  /arrow/ci/scripts/integration_skyhook.sh /build &&\n  /arrow/ci/scripts/cpp_test.sh /arrow /build'
    

    I was able to reproduce, I am investigating to see if I can further debug.

  3. added a commit that references this issue on May 2, 2024
  4. added a commit that references this issue on May 3, 2024
  5. raulcd commented on May 3, 2024

    @raulcd
    MemberAuthor

    Issue resolved by pull request 41501
    #41501

  6. added a commit that references this issue on May 3, 2024
  7. added a commit that references this issue on May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions