Skip to content

BUG: Failing tests when running /test_fast.sh inside the dockered development environment. #46217

Closed
@rendner

Description

@rendner

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

Create a development environment using Docker as described in the documentation

Start a container and execute ./test_fast.sh.

Issue Description

There are some tests which try to read the time from the os.
When running the tests inside the docker container you can see that some of the worker just crash:

terminate called after throwing an instance of 'orc::TimezoneError'
  what():  Can't open /etc/localtime
Fatal Python error: Aborted

Thread 0x00007fd42e93f700 (most recent call first):
  File "/opt/conda/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
  File "/opt/conda/lib/python3.8/threading.py", line 870 in run
  File "/opt/conda/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/opt/conda/lib/python3.8/threading.py", line 890 in _bootstrap
  
... (some lines removed to shorten output)

[gw0] node down: Not properly terminated
F
replacing crashed worker gw0
____________________________________________________________________ pandas/tests/io/test_orc.py ____________________________________________________________________
[gw0] linux -- Python 3.8.12 /opt/conda/bin/python
worker 'gw0' crashed while running 'pandas/tests/io/test_orc.py::test_orc_reader_empty'

Expected Behavior

No worker crashes and related tests don't fail.

Installed Versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildLibrary building on various platforms

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions