☠ Buildbot (Python): python/cpython - failed test (failure) (main)
The Buildbot has detected a new failure on builder AMD64 Windows11 Bigmem 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/1079/builds/4289
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: ambv-bb-win11
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 508, in link self.spawn([self.linker] + ld_args) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn return super().spawn(cmd, env=env) ~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1041, in spawn spawn(cmd, dry_run=self.dry_run, **kwargs) ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn raise DistutilsExecError( "command {!r} failed with exit code {}".format(cmd, exitcode) ) distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 508, in link self.spawn([self.linker] + ld_args) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn return super().spawn(cmd, env=env) ~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1041, in spawn spawn(cmd, dry_run=self.dry_run, **kwargs) ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn raise DistutilsExecError( "command {!r} failed with exit code {}".format(cmd, exitcode) ) distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last): File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test self.build_extension(grammar_source) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension compile_c_extension( ~~~~~~~~~~~~~~~~~~~^ str(source), ^^^^^^^^^^^^ ...<3 lines>... library_dir=library_dir, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension compiler.link_shared_object( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ objects, ^^^^^^^^ ...<5 lines>... build_temp=cmd.build_temp, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object self.link( ~~~~~~~~~^ CCompiler.SHARED_OBJECT, ^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link raise LinkError(msg) distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 Fedora Stable Clang 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/441/builds/6190
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-x86_64
Build Reason: <unknown> Blamelist: Alek Kowalczyk <alek.kowalczyk@gmail.com>, Irit Katriel <1055913+iritkatriel@users.noreply.github.com>, Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>, Serhiy Storchaka <storchaka@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpi0ukgybh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpbq8kpgfm/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpo9n8t2ak/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpw51xeh1g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpqyqu730q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpw51xeh1g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpxmrz8oop/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmplr88vtrq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpow8o1n8h/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpsnfdfvfe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpj4a7moeo/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpqyqu730q/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpm04on_v9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmptenhorkj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp40g6sr96\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpc6umzn2x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpp7drtuq2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmph47vhmwo/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp1as4ksao/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp1buyj9ci\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmped8yu33b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpkd_hbr57/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp7o90oxnq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpayi8e6tp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpi0ukgybh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpo81vkzu1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp516w_mep\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpdiozmnao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpdiozmnao/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpok42kkvs/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpkd_hbr57\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpm04on_v9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmprd1bsj_g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp04q5zgqh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp_7ncsttp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp_opgjjjx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmplr88vtrq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpok42kkvs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpp7n4xta0/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpi3cqyxal\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp516w_mep/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpf1qpl882\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp_opgjjjx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp1as4ksao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp5letewr3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpf1qpl882/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp_n8hmme7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp2psbjxf1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpp7n4xta0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpo9n8t2ak\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpqksqaphu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp2psbjxf1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmptafj3x_3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpbq8kpgfm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpssyd__i5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmptenhorkj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp40g6sr96/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp5letewr3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpj4a7moeo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpqksqaphu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpayi8e6tp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp7o90oxnq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpow8o1n8h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpbttw3lkl/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpl0nr8rut\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpn7gs7vjq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpo81vkzu1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpssyd__i5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpr6ajic8p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpi3cqyxal/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpn7gs7vjq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmptafj3x_3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmped8yu33b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmph47vhmwo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp04q5zgqh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpsnfdfvfe/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpxmrz8oop\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp_7ncsttp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpc6umzn2x/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpr6ajic8p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp_n8hmme7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp6ybync57/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpp7drtuq2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp6ybync57\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpl0nr8rut/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmprd1bsj_g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpbttw3lkl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp1buyj9ci/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 Fedora Stable 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/543/builds/6180
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-x86_64
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpiy043r4_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpporj7u32/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpdcsw2alc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp24z0mq4o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpraympv4c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp6xrk42nx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpp3m6vrio/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpnbhe3fn7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpq_zem5py\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmprw7oba11\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp3mkp89ox\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp8dkkj667\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpkcikorfx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp24z0mq4o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpz06t7rwr/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpht4zrvwr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmprw7oba11/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmprv5s71ux\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpozn1a7yt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpbm5x_c6z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpev8ae5jb/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpjay9ub3i/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpsea40p7p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpdcsw2alc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp8h27n46w/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpqhqvc2us/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpj8o6sjv5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpl_a7q62c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpiy043r4_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpqhqvc2us\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpcop3smzw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp8pwz0u_p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp8pwz0u_p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmprtx9ny8b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp7zvv8k6k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpozn1a7yt/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmppy1pbe3p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpbm5x_c6z/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpnbhe3fn7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpp_53u1yc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpf0yeb9do/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmppy1pbe3p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp2zgnqt1q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpi_raue38/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmprv5s71ux/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp8dkkj667/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp27egyiie\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp8h27n46w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpg54_2myb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpzwovl4ui\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpg54_2myb/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp3mkp89ox/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpe3y3hxo7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpraympv4c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp2zgnqt1q/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp10ewthcx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpsea40p7p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpyvk_hwgx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpyvk_hwgx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpp3m6vrio\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp6xrk42nx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpfvb5c9p8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpe3y3hxo7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpfvb5c9p8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpj8o6sjv5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp7zvv8k6k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpi_raue38\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpzwovl4ui/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp10ewthcx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpjay9ub3i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpporj7u32\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpkcikorfx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp27egyiie/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpv14gkqop\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpq_zem5py/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp8fjncjv_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmptlsj2g_s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmprtx9ny8b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp8fjncjv_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmptlsj2g_s/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpp_53u1yc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpf0yeb9do\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpht4zrvwr/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpcop3smzw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpz06t7rwr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpev8ae5jb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpv14gkqop/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpl_a7q62c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL8 LTO 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/64/builds/7130
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-x86_64
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmps7zv6nll\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp_dbpyphi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpgck7lssg/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp1u4us2jq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpbnbdncqu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp7k_yf8ng\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp04sng0ej\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpf9bp6s8m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmphwl6a9lt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpbdg7bet0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpchzxtrur\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpcrnll265/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpiij6tgoq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpbnbdncqu/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpxcl_4f19/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpblx96khz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpv06eu0cr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmph8bu2ohb/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpf9bp6s8m/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp3hnqqnbz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpsk4u7rsr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmphosb8dah/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpia7e8zhr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp_goije78/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpv22d51fc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmps7zv6nll/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp4j87uc3r/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpwmvza2a7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpv06eu0cr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpxcl_4f19\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmphosb8dah\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpnb0qi98q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpbrec883b/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpiij6tgoq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp2kbfpw34/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp9pbnpyls\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpuaq8nzwf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp_goije78\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmptesbf1p1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp5zq7d8l2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpuhjq_z1d/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmphwl6a9lt/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp62x8b45o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpqe6o1r0c/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp7k_yf8ng/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpbrec883b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmptesbf1p1/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp5zq7d8l2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp4j87uc3r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpbdg7bet0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpxisyxl0b/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp2tf2va9q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp4vlkh8ie/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpnbl6f12m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp2tf2va9q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpblx96khz/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpwmvza2a7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpia7e8zhr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpquxu7puj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp4vlkh8ie\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp9pbnpyls/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpxisyxl0b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpchzxtrur/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpuaq8nzwf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp3jlponmk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp6hlj4ck7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpv22d51fc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp6vb6em8e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpquxu7puj/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp1u4us2jq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp3jlponmk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp04sng0ej/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpsk4u7rsr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpnb0qi98q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp7_7jzm98/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmph8bu2ohb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp3hnqqnbz/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp6hlj4ck7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp2kbfpw34\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpgck7lssg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpnbl6f12m/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp_dbpyphi/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpuhjq_z1d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp6vb6em8e/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp62x8b45o/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpqe6o1r0c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp7_7jzm98\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpcrnll265\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse( stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 CentOS9 LTO 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/831/builds/5348
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-CentOS9-x86_64
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpdtyd9au4/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpjzjbz62q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpi8rdk6ao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpwj01tasp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp140hlp3h/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpq3yzf8zq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpjzjbz62q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpzutnd8so/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp2636_pe9/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp14hdpkyh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpkf29oaqc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp140hlp3h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp2636_pe9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpi4dhn3yj/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmph8xhozol\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpwyuyafd9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp7gkpixvh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp07qkw6gh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp4tqq97yw/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpqkiu5ita/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpo8xwnff0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpwj01tasp/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpwyuyafd9/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp1lamw3kb/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpy_vkbwaz/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpi7y3w5w2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp9uhy4un0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp1m5m23tl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpz_f2o6ka\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpd3lur5qc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpyq2yg4vf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp_u33b1ad\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpszwbwday\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpdtyd9au4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpgl9wb8_b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpzutnd8so\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpn5_z2tze/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp9mmx2an2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp8o6wuhex\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpfwy96_w0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpgl9wb8_b/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpo8xwnff0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpwi5o7tby/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmph8xhozol/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpi8rdk6ao/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp8o6wuhex/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpu53owu7s/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpd3lur5qc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp_u33b1ad/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpn5_z2tze\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpq3yzf8zq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp__iuvyku\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp9uhy4un0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp03bbq3kg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp7gkpixvh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp1lamw3kb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpi4dhn3yj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpfwy96_w0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpszwbwday/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpy4w2huqu/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpovea63vw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpl4rv7mmq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpz_f2o6ka/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp2wib687t/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp1m5m23tl/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpqkiu5ita\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpy4yeh9w2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpu53owu7s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpnftjppc_/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpy_vkbwaz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpl4rv7mmq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpnftjppc_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpwi5o7tby\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpy4w2huqu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpyq2yg4vf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpy4yeh9w2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpumwod_4x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp14hdpkyh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpumwod_4x/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp07qkw6gh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp2wib687t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpovea63vw/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpi7y3w5w2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp9mmx2an2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpkf29oaqc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp4tqq97yw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp__iuvyku/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp03bbq3kg/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL8 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/185/builds/7123
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-x86_64
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpxdn24djw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp90r1uvv1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpytdc4wh1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpxdn24djw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpm9od099o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpmpohyncf/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpq8ai684z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp1ctinyji/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmphoz7b4s6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpj1ll3s41/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmps03jmg87\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpz4qyebmu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpnj3tsnhc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpa4ppdp9c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpyydci6hi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpdx45weoq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp7mzrgp_6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpb28wtme7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpxr_6_eq9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpwia3wpui\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp411ni48c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmphoz7b4s6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp_nnw9nwz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpi0lccqsj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpi0lccqsj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp5mn6ljem\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp90r1uvv1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpambre5k6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpw3wi08_u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpr2cj9464\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpmpohyncf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpixxwnfcd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpcqtm7vv6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp6cxfn0ft\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpj1ll3s41\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmps03jmg87/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpv3l0a0zf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp5fyqad_a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpm9jys9wk/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpb28wtme7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpq8ai684z/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpfnnade72\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpvvmt6kck\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpxr_6_eq9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpw3wi08_u/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp411ni48c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpmy9ahky3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpbgi87v4f/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp455b0095/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp5mn6ljem/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpr2cj9464/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmptb900_c9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpecnc0cx2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp7mzrgp_6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpm9jys9wk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpv3l0a0zf/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp1ctinyji\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpi5wrojtv/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpi5wrojtv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpfnnade72/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp5fyqad_a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpgu59o7aa/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpcqtm7vv6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpseo1gifz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp6cxfn0ft/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpz4qyebmu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpgu59o7aa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp8i6aoiqx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpm9od099o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpytdc4wh1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp455b0095\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpecnc0cx2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpdx45weoq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpwia3wpui/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp8i6aoiqx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpseo1gifz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpnj3tsnhc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpyydci6hi/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpl2myxuxy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpl2myxuxy/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpvvmt6kck/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpambre5k6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpbgi87v4f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpmy9ahky3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp_nnw9nwz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpixxwnfcd/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmptb900_c9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpa4ppdp9c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder s390x RHEL7 LTO 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/402/builds/7483
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-rhel-z
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpc43kjqy4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp90v2259y/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp3i4i7bcl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp3qtr9cy7/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp3i4i7bcl/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpo77likwf/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmph7f7lgei\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpf37rv0fp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp6d_0eush\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpjn36wjj1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp3qk031rp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpvyq8_bpk/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpp2io08s_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpux9a_ehk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmph489z4su\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpwf17wmw3/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp_7z6rr4k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpa12zm2zi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmppj682hgu/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpp2io08s_/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpt9vodcz2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp3x7ioxla\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpa12zm2zi/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp4t02byi_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpf37rv0fp/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp_hh6s4qw/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpvzr7cf2k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpf280frj4/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpn2t9tqvb/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmportvonhd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpjn36wjj1/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpvzr7cf2k/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpdjuk5how\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp3qk031rp/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpdjuk5how/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpee75qzdc/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp77atz64t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpl0o7k7v2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpez_40bcl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpux9a_ehk/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpqlaadzfa/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpee75qzdc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmph489z4su/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp8l85z39t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpf280frj4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpwf17wmw3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp6d_0eush/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp90v2259y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp77u17js2/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpeotmptpp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp3x7ioxla/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpo77likwf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpspft23ik/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpeotmptpp/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpu4xxhgut/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp596w8wej/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp596w8wej\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpu4xxhgut\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp8l85z39t/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp4t02byi_/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpc43kjqy4/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp77u17js2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpg_5a295p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpvyq8_bpk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpn2t9tqvb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp9tiqzois/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmppj682hgu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp7ezphwfm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp_7z6rr4k/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmportvonhd/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpg1ywycoj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmph7f7lgei/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpg1ywycoj/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmps_wi51vj/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp3qtr9cy7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpqlaadzfa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpez_40bcl/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpl0o7k7v2/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp9tiqzois\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpspft23ik\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmps_wi51vj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpt9vodcz2/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp7ezphwfm/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp_hh6s4qw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpdcbl8tea\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpdcbl8tea/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpg_5a295p/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp77atz64t/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL7 LTO 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/507/builds/7724
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL7-x86_64
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpvcewmldk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpnyjsfunx/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpbna73e3r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpv0wrpje5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpl5irkyre\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpm70e5ul1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp4hmz55dy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpblbgmjk4/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpoaqm2n9w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp32yysmu6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmprn1c89xh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp5vb6sbbf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp32yysmu6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpsqmbu22s/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpsbrtbgoc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpcd4idh6a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmprn1c89xh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpvh8tcjsd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpv205w2sr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpku6ivc0z/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpv0wrpje5/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpcffzz4oi/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmprb6rtvam/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpen7nmxhf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp4hmz55dy/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpa9xk9tzm/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp901a35ko\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpha_4cjzx/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpcffzz4oi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmprb6rtvam\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpm70e5ul1/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpvcewmldk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpsqmbu22s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpn0c73cm7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpa9xk9tzm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp5_66hj33\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpn0c73cm7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpblbgmjk4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpr2gcfphk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpen7nmxhf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp5vb6sbbf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp_iufzsvk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmphb1bff7t/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpazxo_g86/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpo4lqahse/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp_iufzsvk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpr2gcfphk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmphb1bff7t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmprl0f09d6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpbna73e3r/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp4yn8ivgt/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpl5irkyre/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpp5u0agm8/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp901a35ko/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpaalvegd7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmppoa7ous2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpwqpbj7v9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpgiis3eos\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpaalvegd7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpef493xgd/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp10bqggl6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmprl0f09d6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpef493xgd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpvh8tcjsd/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpv205w2sr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmppoa7ous2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpazxo_g86\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp43lqi67m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpv5cxdt2q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpwqpbj7v9/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp67mhok_v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp6sk9_4r6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp6sk9_4r6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpo4lqahse\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp5_66hj33/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp4yn8ivgt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpsbrtbgoc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpgiis3eos/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp67mhok_v/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpv5cxdt2q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpcd4idh6a/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpp5u0agm8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpoaqm2n9w/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpha_4cjzx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpnyjsfunx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpku6ivc0z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp10bqggl6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp43lqi67m/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder aarch64 RHEL8 LTO 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/338/builds/7042
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-aarch64
Build Reason: <unknown> Blamelist: Itamar Oren <itamarost@gmail.com>, Pablo Galindo Salgado <Pablogsal@gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp5kexmw6v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpw8t44797/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp7mttcpr3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmppokk3aqr/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpw8t44797\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpw9zibfhd/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpwxnom9sy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpsi5422ss\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpyekb5x2d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp522h4d7l/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpdi9lo353\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpjef0c6b9/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpcforom_y/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpcxqrgzfo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpyk2wwidq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpaoqnf_4_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpnhdf2fir/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpyd4ft_f1/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "<string>", line 14, in <module> import parse ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpcxqrgzfo/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive self.run_test(grammar_source, test_source) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test assert_python_ok( ~~~~~~~~~~~~~~~~^ "-c", ^^^^^ TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok return _assert_python(True, *args, **env_vars) File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python res.fail(cmd_line) ~~~~~~~~^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail raise AssertionError("Process return code is %d\n" ...<13 lines>... err)) AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpwhsjgk0y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(a