ornladios / ADIOS2

Next generation of ADIOS developed in the Exascale Computing Program
https://adios2.readthedocs.io/en/latest/index.html
Apache License 2.0
268 stars 125 forks source link

Failure in some dataman tests in macos #4273

Open vicentebolea opened 1 month ago

vicentebolea commented 1 month ago

Same error in Test.Engine.DataManSingleValues and Test.Engine.DataMan1xN.Serial.

E
======================================================================
ERROR: test_run (__main__.TestDataMan1D)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/ADIOS2/ADIOS2/source/testing/adios2/engine/dataman/TestDataManSingleValues.py", line 34, in test_run
    s.start()
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/context.py", line 288, in _Popen
    return Popen(process_obj)
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/Users/runner/miniconda3/envs/adios2/lib/python3.10/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_io.TextIOWrapper' object

----------------------------------------------------------------------
Ran 1 test in 0.015s

FAILED (errors=1)

https://open.cdash.org/tests/1660020829

eisenhauer commented 1 month ago

I've seen this, but it's a python thing, not Dataman. Something about multiprocessing if I recall, but I'd have to go back and see if I remember what the fix for this was.

eisenhauer commented 1 month ago

https://github.com/ornladios/ADIOS2/pull/3687