Skip to content

AttributeError: 'BufferedParallelTestResult' object has no attribute '_original_stdout' #25745

@juj

Description

@juj

After https://github.com/emscripten-core/emscripten/pull/25737/files#diff-fd5a5983b044aa841287bf197f2b5e46781162bf0e6a0ca8d1ccaddf1cc1c969R335-R339 I am getting

multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/parallel_testsuite.py", line 101, in run_test
    test(result)
    ~~~~^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/case.py", line 707, in __call__
    return self.run(*args, **kwds)
           ~~~~~~~~^^^^^^^^^^^^^^^
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/retryable_unittest.py", line 22, in run
    super().run(result)
    ~~~~~~~~~~~^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/case.py", line 677, in run
    result.stopTest(self)
    ~~~~~~~~~~~~~~~^^^^^^
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/parallel_testsuite.py", line 339, in stopTest
    del self._original_stdout
        ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BufferedParallelTestResult' object has no attribute '_original_stdout'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ~~~~^^^^^^^^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/multiprocessing/pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/parallel_testsuite.py", line 109, in run_test
    result.addError(test, e)
    ~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/parallel_testsuite.py", line 368, in addError
    super().addError(test, err)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/result.py", line 17, in inner
    return method(self, *args, **kw)
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/result.py", line 116, in addError
    self.errors.append((test, self._exc_info_to_string(err, test)))
                              ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/result.py", line 187, in _exc_info_to_string
    exctype, value, tb = err
    ^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable AttributeError object
"""

in http://clbri.com:8010/api/v2/logs/186928/raw_inline

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions