You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
regrtest can reports false SUCCESS and skip tests when a -j worker dies #101634
...
0:04:46 load avg: 7.28 [ 48/434] test_isinstance passed -- running: test_largefile (2 min 54 sec)
0:05:03 load avg: 7.39 [ 49/434] test_utf8source passed -- running: test_largefile (3 min 11 sec), test_unittest (38.7 sec)
Warning -- regrtest worker thread failed: Traceback (most recent call last):
Warning -- File "/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/libregrtest/runtest_mp.py", line 342, in run
Warning -- mp_result = self._runtest(test_name)
Warning -- ^^^^^^^^^^^^^^^^^^^^^^^^
Warning -- File "/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/libregrtest/runtest_mp.py", line 301, in _runtest
Warning -- stdout = stdout_fh.read().strip()
Warning -- ^^^^^^^^^^^^^^^^
Warning -- File "<frozen codecs>", line 322, in decode
Warning -- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9 in position 35: invalid start byte
Kill <TestWorkerProcess #1 running test=test_tempfile pid=7836 time=21.8 sec> process group
Kill <TestWorkerProcess #2 running test=test_largefile pid=7700 time=3 min 32 sec> process group
== Tests result: SUCCESS ==
385 tests omitted:
test___all__ test__locale test__opcode test__osx_support
test__xxinterpchannels test__xxsubinterpreters test_abc test_aifc
test_argparse test_array test_asdl_parser test_ast test_asyncgen
test_asyncio test_atexit test_audioop test_audit test_base64
...
This might be an infrastructure issue or an actual issue with real non utf-8 data making it through the mp sockets. Regardless, it should've triggered an error and exit 1 instead of a false SUCCESS exit 0.
changed the title [-]regrtest can reports false SUCCESS and skips tests when a -j worker dies[/-][+]regrtest can reports false SUCCESS and skip tests when a -j worker dies[/+]on Feb 7, 2023
Activity
[-]regrtest can reports false SUCCESS and skips tests when a -j worker dies[/-][+]regrtest can reports false SUCCESS and skip tests when a -j worker dies[/+]pythongh-101634: regrtest reports decoding error as failed test
vstinner commentedon Jun 28, 2023
I wrote PR #106169 to fix this bug.
pythongh-101634: regrtest reports decoding error as failed test
pythongh-101634: regrtest reports decoding error as failed test
gh-101634: regrtest reports decoding error as failed test (#106169)
pythongh-101634: regrtest reports decoding error as failed test (pyth…
[3.12] gh-101634: regrtest reports decoding error as failed test (GH-…
[3.11] gh-101634: regrtest reports decoding error as failed test (#10…
Revert "[3.11] pythongh-101634: regrtest reports decoding error as fa…
pythongh-101634: regrtest reports decoding error as failed test (pyth…
[3.11] gh-108822: Backport libregrtest changes from the main branch (#…
hugovk commentedon Nov 10, 2023
Thanks!
vstinner commentedon Nov 13, 2023
The fix will not be backported to Python 3.11 and 3.12 branches: see #111950 (comment)