Skip to content

[Python] Conda jobs segfault on Azure tests due to old nodejs version being installed #48894

@raulcd

Description

@raulcd

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

Python conda jobs are currently segfaulting on Azure tests due to old nodejs being installed:

2026-01-16T03:54:58.5866080Z nodejs                                        12.4.0              he1b5a44_0              conda-forge

The failure

 opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_fs.py . [ 40%]
Fatal Python error: Aborted

Thread 0x00007f4a06ffe640 (most recent call first):
  File "/opt/conda/envs/arrow/lib/python3.11/selectors.py", line 468 in select
  File "/opt/conda/envs/arrow/lib/python3.11/asyncio/base_events.py", line 1898 in _run_once
  File "/opt/conda/envs/arrow/lib/python3.11/asyncio/base_events.py", line 608 in run_forever
  File "/opt/conda/envs/arrow/lib/python3.11/threading.py", line 982 in run
  File "/opt/conda/envs/arrow/lib/python3.11/threading.py", line 1045 in _bootstrap_inner
  File "/opt/conda/envs/arrow/lib/python3.11/threading.py", line 1002 in _bootstrap

Current thread 0x00007f4abd1c8740 (most recent call first):
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_fs.py", line 329 in azurefs
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 908 in call_fixture_func
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202 in pytest_fixture_setup
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110 in execute
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 627 in _get_active_fixturedef
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 539 in getfixturevalue
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_fs.py", line 469 in filesystem_config
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 915 in call_fixture_func
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 1202 in pytest_fixture_setup
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 1110 in execute
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 627 in _get_active_fixturedef
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 1068 in execute
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 627 in _get_active_fixturedef
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 539 in getfixturevalue
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/fixtures.py", line 707 in _fillfixtures
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/python.py", line 1723 in setup
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 523 in setup
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 165 in pytest_runtest_setup
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 245 in <lambda>
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 353 in from_call
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 244 in call_and_report
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 131 in runtestprotocol
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/runner.py", line 118 in pytest_runtest_protocol
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/main.py", line 396 in pytest_runtestloop
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/main.py", line 372 in _main
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/main.py", line 318 in wrap_session
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/main.py", line 365 in pytest_cmdline_main
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/config/__init__.py", line 199 in main
  File "/opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/config/__init__.py", line 223 in console_main
  File "/opt/conda/envs/arrow/bin/pytest", line 10 in <module>

Extension modules: numpy._core._multiarray_umath, numpy.linalg._umath_linalg, pyarrow.lib, pyarrow._fs, pyarrow._azurefs, pyarrow._hdfs, pyarrow._gcsfs, pyarrow._s3fs, cython.cimports.libc.math, pyarrow.gandiva, pyarrow._compute, pyarrow._acero, pyarrow._csv, pyarrow._json, pyarrow._dataset, pyarrow._dataset_orc, pyarrow._parquet, pyarrow._parquet_encryption, pyarrow._dataset_parquet_encryption, pyarrow._dataset_parquet, pyarrow._orc, pyarrow._flight, _cffi_backend, pyarrow._pyarrow_cpp_tests, pyarrow._feather, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._pcg64, numpy.random._generator, numpy.random._mt19937, numpy.random._philox, numpy.random._sfc64, numpy.random.mtrand, _brotli, backports.zstd._zstd, multidict._multidict, yarl._quoting_c, propcache._helpers_c, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, frozenlist._frozenlist (total: 44)
/arrow/ci/scripts/python_test.sh: line 72: 10343 Aborted                 (core dumped) pytest -r s ${PYTEST_ARGS} --pyargs pyarrow

I did find the same issue and solved on a different PR, see comment:
#45854 (review)

Component(s)

Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions