Title: Test suite interrupted by xml.etree.ElementTree.ParseError: not well-formed (invalid token) · Issue #121188 · python/cpython · GitHub
Open Graph Title: Test suite interrupted by xml.etree.ElementTree.ParseError: not well-formed (invalid token) · Issue #121188 · python/cpython
X Title: Test suite interrupted by xml.etree.ElementTree.ParseError: not well-formed (invalid token) · Issue #121188 · python/cpython
Description: It seems like the problem comes from 0x1b bytes (eg: displayed as ^[ in vim editor), ANSI escape sequence, which is not properly escaped. Example: https://buildbot.python.org/all/#/builders/332/builds/1457 0:04:35 load avg: 8.27 [350/478...
Open Graph Description: It seems like the problem comes from 0x1b bytes (eg: displayed as ^[ in vim editor), ANSI escape sequence, which is not properly escaped. Example: https://buildbot.python.org/all/#/builders/332/bui...
X Description: It seems like the problem comes from 0x1b bytes (eg: displayed as ^[ in vim editor), ANSI escape sequence, which is not properly escaped. Example: https://buildbot.python.org/all/#/builders/332/bui...
Opengraph URL: https://github.com/python/cpython/issues/121188
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test suite interrupted by xml.etree.ElementTree.ParseError: not well-formed (invalid token)","articleBody":"It seems like the problem comes from `0x1b` bytes (eg: displayed as `^[` in vim editor), ANSI escape sequence, which is not properly escaped.\r\n\r\nExample: https://buildbot.python.org/all/#/builders/332/builds/1457\r\n\r\n```\r\n0:04:35 load avg: 8.27 [350/478] test_sys_setprofile passed -- running (1): test.test_multiprocessing_spawn.test_processes (30.2 sec)\r\n0:04:36 load avg: 8.27 [351/478] test_named_expressions passed -- running (1): test.test_multiprocessing_spawn.test_processes (30.4 sec)\r\n['\u003ctestsuite start=\"2024-06-30 10:05:12.412148\" tests=\"117\" errors=\"0\" failures=\"1\">\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_empty\" status=\"run\" result=\"completed\" time=\"0.000074\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_character_key\" status=\"run\" result=\"completed\" time=\"0.000064\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_character_key_with_stack\" status=\"run\" result=\"completed\" time=\"0.000071\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_invalid_key\" status=\"run\" result=\"completed\" time=\"0.000046\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_invalid_key_with_stack\" status=\"run\" result=\"completed\" time=\"0.000051\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_invalid_key_with_unicode_category\" status=\"run\" result=\"completed\" time=\"0.000045\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_multiple_keys\" status=\"run\" result=\"completed\" time=\"0.000048\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_single_key\" status=\"run\" result=\"completed\" time=\"0.000043\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_transition_key\" status=\"run\" result=\"completed\" time=\"0.000065\" />\u003ctestcase name=\"test.test_pyrepl.test_input.KeymapTranslatorTests.test_push_transition_key_interrupted\" status=\"run\" result=\"completed\" time=\"0.000060\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_empty\" status=\"run\" result=\"completed\" time=\"0.000075\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_multiple_statements\" status=\"run\" result=\"completed\" time=\"0.000976\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_multiple_statements_output\" status=\"run\" result=\"completed\" time=\"0.000235\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_no_active_future\" status=\"run\" result=\"completed\" time=\"0.000209\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_runsource_compiles_and_runs_code\" status=\"run\" result=\"completed\" time=\"0.000468\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_runsource_returns_false_for_failed_compilation\" status=\"run\" result=\"completed\" time=\"0.000162\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_runsource_returns_false_for_successful_compilation\" status=\"run\" result=\"completed\" time=\"0.000115\" />\u003ctestcase name=\"test.test_pyrepl.test_interact.TestSimpleInteract.test_runsource_shows_syntax_error_for_failed_compilation\" status=\"run\" result=\"completed\" time=\"0.000879\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_clashing_definitions\" status=\"run\" result=\"completed\" time=\"0.000062\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_empty_keymap\" status=\"run\" result=\"completed\" time=\"0.000033\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_empty_value\" status=\"run\" result=\"completed\" time=\"0.000036\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_multiple_empty_values\" status=\"run\" result=\"completed\" time=\"0.000035\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_multiple_keymaps\" status=\"run\" result=\"completed\" time=\"0.000034\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_nested_keymap\" status=\"run\" result=\"completed\" time=\"0.000034\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_nested_multiple_keymaps\" status=\"run\" result=\"completed\" time=\"0.000034\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_non_bytes_key\" status=\"run\" result=\"completed\" time=\"0.000045\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestCompileKeymap.test_single_keymap\" status=\"run\" result=\"completed\" time=\"0.000034\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_combinations\" status=\"run\" result=\"completed\" time=\"0.000063\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_control_sequences\" status=\"run\" result=\"completed\" time=\"0.000030\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_escape_sequences\" status=\"run\" result=\"completed\" time=\"0.000296\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_index_errors\" status=\"run\" result=\"completed\" time=\"0.000069\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_keynames\" status=\"run\" result=\"completed\" time=\"0.000864\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_keyspec_errors\" status=\"run\" result=\"completed\" time=\"0.000334\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_meta_sequences\" status=\"run\" result=\"completed\" time=\"0.000044\" />\u003ctestcase name=\"test.test_pyrepl.test_keymap.TestParseKeys.test_single_character\" status=\"run\" result=\"completed\" time=\"0.001213\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_after_wrap_and_move_up\" status=\"run\" result=\"completed\" time=\"0.009281\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_double_width_character\" status=\"run\" result=\"completed\" time=\"0.004559\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_double_width_character_move_left\" status=\"run\" result=\"completed\" time=\"0.004815\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_double_width_character_move_left_right\" status=\"run\" result=\"completed\" time=\"0.005351\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_double_width_characters_move_up\" status=\"run\" result=\"completed\" time=\"0.012739\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_double_width_characters_move_up_down\" status=\"run\" result=\"completed\" time=\"0.011296\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_move_down_to_eol\" status=\"run\" result=\"completed\" time=\"0.010642\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_move_up_to_eol\" status=\"run\" result=\"completed\" time=\"0.010715\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_multiple_double_width_characters_move_left\" status=\"run\" result=\"completed\" time=\"0.007659\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_multiple_mixed_lines_move_up\" status=\"run\" result=\"completed\" time=\"0.018315\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_cursor_position_simple_character\" status=\"run\" result=\"completed\" time=\"0.003981\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_down_arrow_end_of_input\" status=\"run\" result=\"completed\" time=\"0.007747\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_left_arrow_simple\" status=\"run\" result=\"completed\" time=\"0.006869\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_right_arrow_end_of_line\" status=\"run\" result=\"completed\" time=\"0.005664\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestCursorPosition.test_up_arrow_simple\" status=\"run\" result=\"completed\" time=\"0.007966\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestMain.test_dumb_terminal_exits_cleanly\" status=\"run\" result=\"completed\" time=\"0.604765\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestMain.test_exposed_globals_in_repl\" status=\"run\" result=\"completed\" time=\"0.587335\">\u003csystem-out />\u003csystem-err />\u003cfailure type=\"AssertionError\" message=\"AssertionError: False is not true : sorted(dir())
exit
Python 3.14.0a0 (heads/refs/pull/120894/merge:3ea9e550eef, Jun 30 2024, 06:00:16) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
\\x1b[?2004h
\\x1b[?1h\\x1b=\\x1b[?25l\\x1b[1A
\\x1b[1;35m>>> \\x1b[0m\\x1b[4D
\\x1b[?12l\\x1b[?25h\\x1b[4C
\\x1b[?25l\\x1b[4D\\x1b[1;35m>>> \\x1b[0ms\\x1b[5D\\x1b[?12l\\x1b[?25h\\x1b[5C
\\x1b[?25l\\x1b[5D\\x1b[1;35m>>> \\x1b[0mso\\x1b[6D\\x1b[?12l\\x1b[?25h\\x1b[6C
\\x1b[?25l\\x1b[6D\\x1b[1;35m>>> \\x1b[0msor\\x1b[7D
\\x1b[?12l\\x1b[?25h\\x1b[7C
\\x1b[?25l\\x1b[7D\\x1b[1;35m>>> \\x1b[0msort\\x1b[8D
\\x1b[?12l\\x1b[?25h\\x1b[8C
\\x1b[?25l\\x1b[8D\\x1b[1;35m>>> \\x1b[0msorte\\x1b[9D
\\x1b[?12l\\x1b[?25h\\x1b[9C
\\x1b[?25l\\x1b[9D\\x1b[1;35m>>> \\x1b[0msorted
\\x1b[10D
\\x1b[?12l\\x1b[?25h\\x1b[10C
\\x1b[?25l\\x1b[10D\\x1b[1;35m>>> \\x1b[0msorted(
\\x1b[11D
\\x1b[?12l\\x1b[?25h\\x1b[11C
\\x1b[?25l\\x1b[11D\\x1b[1;35m>>> \\x1b[0msorted(d\\x1b[12D\\x1b[?12l\\x1b[?25h\\x1b[12C
\\x1b[?25l\\x1b[12D\\x1b[1;35m>>> \\x1b[0msorted(di\\x1b[13D
\\x1b[?12l\\x1b[?25h\\x1b[13C
\\x1b[?25l\\x1b[13D\\x1b[1;35m>>> \\x1b[0msorted(dir
\\x1b[14D
\\x1b[?12l\\x1b[?25h\\x1b[14C
\\x1b[?25l\\x1b[14D\\x1b[1;35m>>> \\x1b[0msorted(dir(\\x1b[15D\\x1b[?12l\\x1b[?25h\\x1b[15C
\\x1b[?25l\\x1b[15D\\x1b[1;35m>>> \\x1b[0msorted(dir()
\\x1b[16D
\\x1b[?12l\\x1b[?25h\\x1b[16C
\\x1b[?25l\\x1b[16D\\x1b[1;35m>>> \\x1b[0msorted(dir())\\x1b[17D
\\x1b[?12l\\x1b[?25h\\x1b[17C
\\x1b[17D
\\x1b[?2004l
\\x1b[?1l\\x1b>
[\\'__annotations__\\', \\'__builtins__\\', \\'__cached__\\', \\'__doc__\\', \\'__file__\\', \\'__loader__\\', \\'__name__\\', \\'__package__\\', \\'__spec__\\', \\'sys\\', \\'ver\\']
\\x1b[?2004h
\\x1b[?1h\\x1b=\\x1b[?25l\\x1b[1A
\\x1b[1;35m>>> \\x1b[0m
\\x1b[4D
\\x1b[?12l\\x1b[?25h\\x1b[4C
\\x1b[?25l\\x1b[4D\\x1b[1;35m>>> \\x1b[0me\\x1b[5D\\x1b[?12l\\x1b[?25h\\x1b[5C
\\x1b[?25l\\x1b[5D\\x1b[1;35m>>> \\x1b[0mex\\x1b[6D
\\x1b[?12l\\x1b[?25h\\x1b[6C
\\x1b[?25l\\x1b[6D\\x1b[1;35m>>> \\x1b[0mexi
\\x1b[7D
\\x1b[?12l\\x1b[?25h\\x1b[7C
\\x1b[?25l\\x1b[7D\\x1b[1;35m>>> \\x1b[0mexit\\x1b[8D\\x1b[?12l\\x1b[?25h\\x1b[8C\\x1b[8D
\\x1b[?2004l\\x1b[?1l\\x1b>
\">Traceback (most recent call last):\\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/unittest/case.py\", line 58, in testPartExecutor\\n yield\\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/unittest/case.py\", line 660, in run\\n self._callTestMethod(testMethod)\\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^\\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/unittest/case.py\", line 606, in _callTestMethod\\n result = method()\\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/support/__init__.py\", line 2622, in wrapper\\n return func(*args, **kwargs)\\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/test_pyrepl/test_pyrepl.py\", line 865, in test_exposed_globals_in_repl\\n self.assertTrue(case1 or case2 or case3 or case4, output)\\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/unittest/case.py\", line 753, in assertTrue\\n raise self.failureException(msg)\\nAssertionError: False is not true : sorted(dir())\\r\\nexit\\r\\n\\nPython 3.14.0a0 (heads/refs/pull/120894/merge:3ea9e550eef, Jun 30 2024, 06:00:16) [GCC 7.5.0] on linux\\r\\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\\r\\n\\n\\x1b[?2004h\\n\\x1b[?1h\\x1b=\\x1b[?25l\\x1b[1A\\n\\x1b[1;35m>>> \\x1b[0m\\x1b[4D\\n\\x1b[?12l\\x1b[?25h\\x1b[4C\\n\\x1b[?25l\\x1b[4D\\x1b[1;35m>>> \\x1b[0ms\\x1b[5D\\x1b[?12l\\x1b[?25h\\x1b[5C\\n\\x1b[?25l\\x1b[5D\\x1b[1;35m>>> \\x1b[0mso\\x1b[6D\\x1b[?12l\\x1b[?25h\\x1b[6C\\n\\x1b[?25l\\x1b[6D\\x1b[1;35m>>> \\x1b[0msor\\x1b[7D\\n\\x1b[?12l\\x1b[?25h\\x1b[7C\\n\\x1b[?25l\\x1b[7D\\x1b[1;35m>>> \\x1b[0msort\\x1b[8D\\n\\x1b[?12l\\x1b[?25h\\x1b[8C\\n\\x1b[?25l\\x1b[8D\\x1b[1;35m>>> \\x1b[0msorte\\x1b[9D\\n\\x1b[?12l\\x1b[?25h\\x1b[9C\\n\\x1b[?25l\\x1b[9D\\x1b[1;35m>>> \\x1b[0msorted\\n\\x1b[10D\\n\\x1b[?12l\\x1b[?25h\\x1b[10C\\n\\x1b[?25l\\x1b[10D\\x1b[1;35m>>> \\x1b[0msorted(\\n\\x1b[11D\\n\\x1b[?12l\\x1b[?25h\\x1b[11C\\n\\x1b[?25l\\x1b[11D\\x1b[1;35m>>> \\x1b[0msorted(d\\x1b[12D\\x1b[?12l\\x1b[?25h\\x1b[12C\\n\\x1b[?25l\\x1b[12D\\x1b[1;35m>>> \\x1b[0msorted(di\\x1b[13D\\n\\x1b[?12l\\x1b[?25h\\x1b[13C\\n\\x1b[?25l\\x1b[13D\\x1b[1;35m>>> \\x1b[0msorted(dir\\n\\x1b[14D\\n\\x1b[?12l\\x1b[?25h\\x1b[14C\\n\\x1b[?25l\\x1b[14D\\x1b[1;35m>>> \\x1b[0msorted(dir(\\x1b[15D\\x1b[?12l\\x1b[?25h\\x1b[15C\\n\\x1b[?25l\\x1b[15D\\x1b[1;35m>>> \\x1b[0msorted(dir()\\n\\x1b[16D\\n\\x1b[?12l\\x1b[?25h\\x1b[16C\\n\\x1b[?25l\\x1b[16D\\x1b[1;35m>>> \\x1b[0msorted(dir())\\x1b[17D\\n\\x1b[?12l\\x1b[?25h\\x1b[17C\\n\\x1b[17D\\n\\r\\n\\x1b[?2004l\\n\\x1b[?1l\\x1b>\\n[\\'__annotations__\\', \\'__builtins__\\', \\'__cached__\\', \\'__doc__\\', \\'__file__\\', \\'__loader__\\', \\'__name__\\', \\'__package__\\', \\'__spec__\\', \\'sys\\', \\'ver\\']\\r\\n\\n\\x1b[?2004h\\n\\x1b[?1h\\x1b=\\x1b[?25l\\x1b[1A\\n\\n\\x1b[1;35m>>> \\x1b[0m\\n\\x1b[4D\\n\\x1b[?12l\\x1b[?25h\\x1b[4C\\n\\x1b[?25l\\x1b[4D\\x1b[1;35m>>> \\x1b[0me\\x1b[5D\\x1b[?12l\\x1b[?25h\\x1b[5C\\n\\x1b[?25l\\x1b[5D\\x1b[1;35m>>> \\x1b[0mex\\x1b[6D\\n\\x1b[?12l\\x1b[?25h\\x1b[6C\\n\\x1b[?25l\\x1b[6D\\x1b[1;35m>>> \\x1b[0mexi\\n\\x1b[7D\\n\\x1b[?12l\\x1b[?25h\\x1b[7C\\n\\x1b[?25l\\x1b[7D\\x1b[1;35m>>> \\x1b[0mexit\\x1b[8D\\x1b[?12l\\x1b[?25h\\x1b[8C\\x1b[8D\\n\\r\\x1b[?2004l\\x1b[?1l\\x1b>\\n\u003c/failure>\u003c/testcase>\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestMain.test_python_basic_repl\" status=\"run\" result=\"completed\" time=\"1.247115\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPasteEvent.test_bracketed_paste\" status=\"run\" result=\"completed\" time=\"0.004426\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPasteEvent.test_bracketed_paste_single_line\" status=\"run\" result=\"completed\" time=\"0.002461\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPasteEvent.test_paste\" status=\"run\" result=\"completed\" time=\"0.006187\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPasteEvent.test_paste_mid_newlines\" status=\"run\" result=\"completed\" time=\"0.003866\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPasteEvent.test_paste_mid_newlines_not_in_paste_mode\" status=\"run\" result=\"completed\" time=\"0.003064\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPasteEvent.test_paste_not_in_paste_mode\" status=\"run\" result=\"completed\" time=\"0.005041\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplAutoindent.test_auto_indent_continuation\" status=\"run\" result=\"completed\" time=\"0.003406\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplAutoindent.test_auto_indent_default\" status=\"run\" result=\"completed\" time=\"0.000031\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplAutoindent.test_auto_indent_ignore_comments\" status=\"run\" result=\"completed\" time=\"0.003174\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplAutoindent.test_auto_indent_multiline\" status=\"run\" result=\"completed\" time=\"0.003716\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplAutoindent.test_auto_indent_prev_block\" status=\"run\" result=\"completed\" time=\"0.004236\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplAutoindent.test_auto_indent_with_comment\" status=\"run\" result=\"completed\" time=\"0.003255\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplCompleter.test_completion_with_many_options\" status=\"run\" result=\"completed\" time=\"0.074031\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplCompleter.test_completion_with_warnings\" status=\"run\" result=\"completed\" time=\"0.010621\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplCompleter.test_empty_namespace_completion\" status=\"run\" result=\"completed\" time=\"0.002656\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplCompleter.test_global_namespace_completion\" status=\"run\" result=\"completed\" time=\"0.002461\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplCompleter.test_simple_completion\" status=\"run\" result=\"completed\" time=\"0.004463\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplCompleter.test_updown_arrow_with_completion_menu\" status=\"run\" result=\"completed\" time=\"0.073284\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_basic\" status=\"run\" result=\"completed\" time=\"0.002418\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_control_character\" status=\"run\" result=\"completed\" time=\"0.002317\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_history_navigation_with_down_arrow\" status=\"run\" result=\"completed\" time=\"0.002359\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_history_navigation_with_up_arrow\" status=\"run\" result=\"completed\" time=\"0.004004\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_history_search\" status=\"run\" result=\"completed\" time=\"0.003447\" />\u003ctestcase name=\"test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_multiline_edit\" status=\"run\" result=\"completed\" time=\"0.003851\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_backspace\" status=\"run\" result=\"completed\" time=\"0.008366\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_backspace_in_second_line_after_wrap\" status=\"run\" result=\"completed\" time=\"0.007194\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_wrap_removes_after_backspace\" status=\"run\" result=\"completed\" time=\"0.006498\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_wrap_simple\" status=\"run\" result=\"completed\" time=\"0.012438\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_wrap_three_lines\" status=\"run\" result=\"completed\" time=\"0.008426\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_wrap_three_lines_mixed_character\" status=\"run\" result=\"completed\" time=\"0.009177\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_calc_screen_wrap_wide_characters\" status=\"run\" result=\"completed\" time=\"0.005860\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_completions_updated_on_key_press\" status=\"run\" result=\"completed\" time=\"0.012732\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_input_hook_is_called_if_set\" status=\"run\" result=\"completed\" time=\"0.012378\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_key_press_on_tab_press_once\" status=\"run\" result=\"completed\" time=\"0.009018\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_keyboard_interrupt_clears_screen\" status=\"run\" result=\"completed\" time=\"0.025747\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_newline_within_block_trailing_whitespace\" status=\"run\" result=\"completed\" time=\"0.012264\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_prompt_length\" status=\"run\" result=\"completed\" time=\"0.000110\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_setpos_for_xy_simple\" status=\"run\" result=\"completed\" time=\"0.004700\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_setpos_from_xy_after_wrap\" status=\"run\" result=\"completed\" time=\"0.007858\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_setpos_from_xy_multiple_lines\" status=\"run\" result=\"completed\" time=\"0.008174\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_setpos_fromxy_in_wrapped_line\" status=\"run\" result=\"completed\" time=\"0.035877\" />\u003ctestcase name=\"test.test_pyrepl.test_reader.TestReader.test_up_arrow_after_ctrl_r\" status=\"run\" result=\"completed\" time=\"0.005097\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_cursor_back_write\" status=\"run\" result=\"completed\" time=\"0.003763\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_cursor_left\" status=\"run\" result=\"completed\" time=\"0.003459\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_cursor_left_right\" status=\"run\" result=\"completed\" time=\"0.004322\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_cursor_up\" status=\"run\" result=\"completed\" time=\"0.003993\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_cursor_up_down\" status=\"run\" result=\"completed\" time=\"0.004148\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_multiline_function_move_up_down_short_terminal\" status=\"run\" result=\"completed\" time=\"0.034868\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_multiline_function_move_up_short_terminal\" status=\"run\" result=\"completed\" time=\"0.005552\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_resize_bigger_on_multiline_function\" status=\"run\" result=\"completed\" time=\"0.006622\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_resize_smaller_on_multiline_function\" status=\"run\" result=\"completed\" time=\"0.007210\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_simple_addition\" status=\"run\" result=\"completed\" time=\"0.003960\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_console.TestConsole.test_wrap\" status=\"run\" result=\"completed\" time=\"0.004245\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_empty\" status=\"run\" result=\"completed\" time=\"0.000385\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_flush_buf\" status=\"run\" result=\"completed\" time=\"0.000222\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_get\" status=\"run\" result=\"completed\" time=\"0.000213\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_insert\" status=\"run\" result=\"completed\" time=\"0.000205\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_push_special_key\" status=\"run\" result=\"completed\" time=\"0.000232\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_push_unrecognized_escape_sequence\" status=\"run\" result=\"completed\" time=\"0.000231\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_push_with_key_in_keymap\" status=\"run\" result=\"completed\" time=\"0.000604\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_push_with_keymap_in_keymap\" status=\"run\" result=\"completed\" time=\"0.000589\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_push_with_keymap_in_keymap_and_escape\" status=\"run\" result=\"completed\" time=\"0.001690\" />\u003ctestcase name=\"test.test_pyrepl.test_unix_eventqueue.TestUnixEventQueue.test_push_without_key_in_keymap\" status=\"run\" result=\"completed\" time=\"0.000566\" />\u003ctestcase name=\"unittest.loader.ModuleSkipped.test.test_pyrepl.test_windows_console\" status=\"run\" result=\"completed\" time=\"0.000009\">\u003cskipped>test only relevant on win32\u003c/skipped>\u003c/testcase>\u003c/testsuite>']\r\nKill \u003cWorkerThread #1 running test=test_fork1 pid=17421 time=4.6 sec> process group\r\nKill \u003cWorkerThread #2 running test=test_tools pid=13493 time=15.5 sec> process group\r\nKill \u003cWorkerThread #3 running test=test.test_multiprocessing_spawn.test_misc pid=13075 time=23.5 sec> process group\r\nKill \u003cWorkerThread #5 running test=test.test_concurrent_futures.test_shutdown pid=14246 time=13.1 sec> process group\r\nKill \u003cWorkerThread #6 running test=test.test_multiprocessing_spawn.test_processes pid=12483 time=33.8 sec> process group\r\nKill \u003cWorkerThread #4 running test=test_hashlib pid=19110 time=4 ms> process group\r\nTraceback (most recent call last):\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/runpy.py\", line 198, in _run_module_as_main\r\n return _run_code(code, main_globals, None,\r\n \"__main__\", mod_spec)\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/runpy.py\", line 88, in _run_code\r\n exec(code, run_globals)\r\n ~~~~^^^^^^^^^^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/__main__.py\", line 2, in \u003cmodule>\r\n main(_add_python_opts=True)\r\n ~~~~^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/main.py\", line 747, in main\r\n Regrtest(ns, _add_python_opts=_add_python_opts).main(tests=tests)\r\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/main.py\", line 739, in main\r\n exitcode = self.run_tests(selected, tests)\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/main.py\", line 576, in run_tests\r\n return self._run_tests(selected, tests)\r\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/main.py\", line 536, in _run_tests\r\n self._run_tests_mp(runtests, self.num_workers)\r\n ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/main.py\", line 434, in _run_tests_mp\r\n RunWorkers(num_workers, runtests, self.logger, self.results).run()\r\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/run_workers.py\", line 606, in run\r\n result = self._process_result(item)\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/run_workers.py\", line 577, in _process_result\r\n self.results.accumulate_result(result, self.runtests)\r\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/results.py\", line 132, in accumulate_result\r\n self.add_junit(xml_data)\r\n ~~~~~~~~~~~~~~^^^^^^^^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/test/libregrtest/results.py\", line 165, in add_junit\r\n self.testsuite_xml.append(ET.fromstring(e))\r\n ~~~~~~~~~~~~~^^^\r\n File \"/home/dje/cpython-buildarea/pull_request.edelsohn-sles-z/build/Lib/xml/etree/ElementTree.py\", line 1342, in XML\r\n parser.feed(text)\r\n ~~~~~~~~~~~^^^^^^\r\nxml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 8035\r\nmake: *** [Makefile:2262: buildbottest] Error 1\r\n```\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-121195\n* gh-121204\n* gh-121205\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2024-06-30T18:04:18Z","url":"https://github.com/python/cpython/issues/121188"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ba0d965-5bd3-ed2e-955a-7c5a8269a275 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E996:14700E:3CD092E:4D36B94:6B0207BA |
| html-safe-nonce | ea8878ae745e6b77c3c7c01376a7a96d0320ea051a0fe7e402a488166ae90b09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTk2OjE0NzAwRTozQ0QwOTJFOjREMzZCOTQ6NkIwMjA3QkEiLCJ2aXNpdG9yX2lkIjoiNzkwNTgwODc2MDk1NjkxMzU5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27fffee2b8ed661d7cf525fa7b11be2829d4348e72780a11948f87e9cc5d21d2 |
| hovercard-subject-tag | issue:2382362959 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/121188/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30260e0b2021c2b187a86c571ba443268a36697cb617236be8f066c03cb31a0b/python/cpython/issues/121188 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30260e0b2021c2b187a86c571ba443268a36697cb617236be8f066c03cb31a0b/python/cpython/issues/121188 |
| og:image:alt | It seems like the problem comes from 0x1b bytes (eg: displayed as ^[ in vim editor), ANSI escape sequence, which is not properly escaped. Example: https://buildbot.python.org/all/#/builders/332/bui... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width