☠ Buildbot (Python): python/cpython - failed test (failure) (main)
The Buildbot has detected a new failure on builder s390x RHEL7 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/179/builds/5272
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-rhel-z
Build Reason: <unknown> Blamelist: Victor Stinner <vstinner@python.org>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
== Tests result: FAILURE then FAILURE ==
432 tests OK.
10 slowest tests:
- test_tools: 3 min 42 sec
- test_concurrent_futures: 2 min 23 sec
- test_math: 1 min 53 sec
- test.test_multiprocessing_spawn.test_processes: 1 min 3 sec
- test_hashlib: 1 min 1 sec
- test_signal: 50.9 sec
- test.test_multiprocessing_forkserver.test_processes: 49.7 sec
- test_unparse: 48.3 sec
- test_subprocess: 47.0 sec
- test_capi: 45.3 sec
1 test failed: test_peg_generator
23 tests skipped: test.test_asyncio.test_windows_events test.test_asyncio.test_windows_utils test_devpoll test_gdb test_idle test_ioctl test_kqueue test_launcher test_perf_profiler test_smtpnet test_sqlite3 test_ssl test_startfile test_tcl test_tkinter test_ttk test_ttk_textonly test_turtle test_winconsoleio test_winreg test_winsound test_wmi test_zipfile64
2 re-run tests: test.test_asyncio.test_subprocess test_peg_generator
Total duration: 7 min 48 sec
Captured traceback
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpjztay00n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpqaq5xrkp/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmptcljn6ds\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_asyncio/test_subprocess.py", line 788, in test_subprocess_consistent_callbacks self.loop.run_until_complete(main()) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/asyncio/base_events.py", line 664, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_asyncio/test_subprocess.py", line 780, in main self.assertEqual(events, [ AssertionError: Lists differ: [('pi[29 chars]t'), 'pipe_connection_lost', ('pipe_data_recei[57 chars]ted'] != [('pi[29 chars]t'), ('pipe_data_received', 2, b'stderr'), 'pi[57 chars]ted']
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpz7le96td/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmppo3ftnz6/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmp333j4ugx/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmppkgudkio\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpz7le96td\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpl8e37ylt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpam5d41iq/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmprlqflv08\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpdo7uykdb/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmp7gs2ml0v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpy375pmqo/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpxza9ercy/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpnm3qfeel/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpxz7rl_o9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmp333j4ugx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmptcljn6ds/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpqaq5xrkp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpaj0jv8yh/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmp5dg_rr_s/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpz2gedua9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpep88g3pz/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpfohyz4kf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpxz7rl_o9/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmp9nyqcr6l/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmp889gk70z/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpiv91g57l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmp7gs2ml0v/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpayt9g3ft\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmp1tbul7jg/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpy375pmqo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpvde06saa/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpdo7uykdb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpdvil5ggc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpjhbyuz6q/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpm1tqu4b2/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmp9nyqcr6l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpvs3w9zhc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpi9comrxl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpcypda9qj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmp889gk70z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpi9comrxl/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmp6qota8lb/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpuxsbfcoz/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpam5d41iq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpldmr_6sb/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpiv91g57l/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpz2gedua9/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmp1tbul7jg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpgn6kqry1/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpjhbyuz6q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpayt9g3ft/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmp6qota8lb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmprlqflv08/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmppo3ftnz6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpnm3qfeel\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpm1tqu4b2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpcypda9qj/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmp3zzrvi8a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpuxsbfcoz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpxza9ercy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmp4lmbi2tf/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpu6a4dvwe/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpjztay00n/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpbiwds02s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpvs3w9zhc/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpx3npkz9y/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpdvil5ggc/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpbiwds02s/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmppkgudkio/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmp5dg_rr_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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmp4lmbi2tf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpgn8c43r9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpgn6kqry1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpep88g3pz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpvde06saa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmp3zzrvi8a/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpaj0jv8yh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpgn8c43r9/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpl8e37ylt/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/test_python_worker_15618æ/tmpx3npkz9y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/test_python_worker_15618��/tmpfohyz4kf/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpldmr_6sb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpu6a4dvwe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401æ/tmpwh8ub1lk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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 a ctual_ast = parse.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_10401��/tmpwh8ub1lk/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Test report
Failed tests:
- test_peg_generator
- test.test_asyncio.test_subprocess
Failed subtests:
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_subprocess_consistent_callbacks - test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_consistent_callbacks
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_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_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder s390x RHEL8 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/509/builds/4753
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-rhel8-z
Build Reason: <unknown> Blamelist: Chris Markiewicz <effigies@gmail.com>, Daniele Procida <daniele@vurt.org>, Jeffery To <jeffery.to@gmail.com>, Victor Stinner <vstinner@python.org>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
== Tests result: FAILURE then FAILURE ==
440 tests OK.
10 slowest tests:
- test_concurrent_futures: 2 min 35 sec
- test_math: 1 min 37 sec
- test_gdb: 1 min 23 sec
- test_signal: 1 min 13 sec
- test.test_multiprocessing_spawn.test_processes: 55.4 sec
- test.test_multiprocessing_forkserver.test_processes: 47.8 sec
- test_capi: 47.1 sec
- test_unparse: 38.0 sec
- test_tokenize: 35.8 sec
- test_io: 34.8 sec
1 test failed: test_peg_generator
15 tests skipped: test.test_asyncio.test_windows_events test.test_asyncio.test_windows_utils test_devpoll test_ioctl test_kqueue test_launcher test_perf_profiler test_startfile test_tkinter test_ttk test_winconsoleio test_winreg test_winsound test_wmi test_zipfile64
2 re-run tests: test_peg_generator test_tools
Total duration: 8 min 19 sec
Captured traceback
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpjgtfr0s6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpe9e0twc_/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmphnjw4449/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmphhjb8afe/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpu7ellt7y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp2i7ofgzg/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp9psvl638/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp1vsf25to/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpcpdgzw8d/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpkk1o4b_2/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp9r5y0r4o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp7eb9jlf7/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp6st_shck/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpost8_3vu/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpwkuaw01h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp__dxew37/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp2ad5z1jz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpxvonck_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.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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpf8cyx4ff/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp7eb9jlf7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpal8zcnqy/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpbcpqeko_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpq2tk4hha\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpyk34cu_c/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp28l6kvic\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmps_ubqsus\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp58538h2l/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmptm0mlvvk/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmps_ubqsus/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp0iv4hxlo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpal8zcnqy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmph1_ool0n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpu7ellt7y/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpkttq2b4_/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp5y_wu_am/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpxvonck_4/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmphhjb8afe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpost8_3vu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpwkuaw01h/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmppmxx3p0p/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpa96qtaoc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpz51p62zr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp9r5y0r4o/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpmcsy5dww\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp9psvl638\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpmcsy5dww/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp2i7ofgzg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpq2tk4hha/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpq1yy2ilo/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpkttq2b4_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpz51p62zr/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpcpdgzw8d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpbcpqeko_/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp_ec7s7yx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmph1_ool0n/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpvqrr3coc/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpa96qtaoc/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp5y_wu_am\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp0iv4hxlo/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmppmxx3p0p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp1vsf25to\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmp_ec7s7yx/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmptm0mlvvk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpj2aeyfgq/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpfq6lg8go/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpq1yy2ilo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpd3ak_96v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp0ahzyw6b/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp28l6kvic/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp2ad5z1jz/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpfq6lg8go\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpkk1o4b_2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmp58538h2l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp0ahzyw6b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpf8cyx4ff\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/tmpjgtfr0s6/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpe9e0twc_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpm_izrotr/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp6st_shck\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpyk34cu_c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpj2aeyfgq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmp0dce3c1s/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion
self.run_test(grammar_source, test_source)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/tmpvqrr3coc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmpm_izrotr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-rhel8-z/build/Lib/test/test_tools/test_freeze.py", line 30, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Tools/freeze/test/freeze.py", line 146, in prepare copy_source_tree(srcdir, SRCDIR) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree shutil.copytree(oldroot, newroot, ignore=ignore_non_src) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/shutil.py", line 588, in copytree return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/shutil.py", line 542, in _copytree raise Error(errors) shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3488552æ', '/tmp/test_python_2wmaj7q0/tmp04azygb9/cpython/build/test_python_3488552æ', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3488552æ'")]
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp0dce3c1s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmphnjw4449\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895��/test_python_worker_3480048��/tmpd3ak_96v/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator self.run_test(grammar_source, test_source) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_3479895æ/test_python_worker_3480048æ/tmp__dxew37\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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']
Test report
Failed tests:
- test_peg_generator
- test_tools
Failed subtests:
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
- test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_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_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 CentOS9 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/838/builds/3625
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-CentOS9-x86_64
Build Reason: <unknown> Blamelist: Daniele Procida <daniele@vurt.org>, Jeffery To <jeffery.to@gmail.com>, Victor Stinner <vstinner@python.org>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
== Tests result: FAILURE then FAILURE ==
441 tests OK.
10 slowest tests:
- test_gdb: 5 min 30 sec
- test_concurrent_futures: 3 min 16 sec
- test_math: 2 min 9 sec
- test.test_multiprocessing_spawn.test_processes: 1 min 43 sec
- test.test_multiprocessing_forkserver.test_processes: 1 min 31 sec
- test_tokenize: 1 min 7 sec
- test_capi: 1 min 6 sec
- test_unparse: 1 min 4 sec
- test.test_multiprocessing_spawn.test_misc: 52.7 sec
- test_signal: 51.6 sec
1 test failed: test_peg_generator
14 tests skipped: test.test_asyncio.test_windows_events test.test_asyncio.test_windows_utils test_devpoll test_ioctl test_kqueue test_launcher test_startfile test_tkinter test_ttk test_winconsoleio test_winreg test_winsound test_wmi test_zipfile64
1 re-run test: test_peg_generator
Total duration: 9 min 9 sec
Captured traceback
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmp9v5j6nqk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmp805mytca/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpcjif6wrk/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmp5mnm52te/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpmnkmx0kx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpcjif6wrk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpbkvsiiwl/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpi8kyhhkv/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmp805mytca\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpunsvvrcc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmp2xfp7e5g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmp74nt9_ca\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmps9anvftd/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmp3z30detz/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmphcmjtqnw/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpvepjdk3p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmphcmjtqnw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpjv63wb7l/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmp1w210fna/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpbkvsiiwl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpxxebjg2m/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpc2h08c0j/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpz9llts47\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmptgxqbgnz/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpuniem5hh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpopl1clth\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpurknwz1u/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpurknwz1u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmptgxqbgnz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmp3z30detz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmp1w210fna\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpgcqnm1iw/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmp61nbl0mm/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpiu1_t8i_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpgjzbxww7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpmi6lor9v/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpd0ypwjdf/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpopl1clth/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpthcgcsky\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpc2h08c0j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpz9llts47/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpthcgcsky/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmplwn92y5w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpnlxau4vk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpu6l8cdiq/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmp89j0djj7/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmp2xfp7e5g/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpb5v45upg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmp61nbl0mm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpu6l8cdiq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpvepjdk3p/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpmnkmx0kx/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpgjzbxww7/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpiu1_t8i_/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpb5v45upg/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmplgdg3wv0/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmp9v5j6nqk/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmp5mnm52te\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmp6vxjjha5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpt34gjdem\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpgd0n_9bo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpjv63wb7l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpgcqnm1iw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpsa1xfj5t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpvhflg6ot\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpuniem5hh/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpd0ypwjdf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpmi6lor9v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmp1ewtkpbh/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpsa1xfj5t/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmp6xogflt7/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmp74nt9_ca/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpcrg5ai6o/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/tmpunsvvrcc/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmp6vxjjha5/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpgd0n_9bo/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmpcrg5ai6o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmplwn92y5w/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmplgdg3wv0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmp89j0djj7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpi8kyhhkv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmps9anvftd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpvhflg6ot/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/test_python_worker_534902æ/tmp1ewtkpbh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmp6xogflt7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpt34gjdem/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751��/test_python_worker_534902��/tmpnlxau4vk/parse.cpython-313d-x86_64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_531751æ/tmpxxebjg2m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a st = 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']
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_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_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder aarch64 Fedora Stable 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/125/builds/4288
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-aarch64
Build Reason: <unknown> Blamelist: Victor Stinner <vstinner@python.org>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
== Tests result: FAILURE then FAILURE ==
441 tests OK.
10 slowest tests:
- test_gdb: 4 min 46 sec
- test_concurrent_futures: 2 min 55 sec
- test_math: 2 min 37 sec
- test.test_multiprocessing_spawn.test_processes: 1 min 54 sec
- test_unparse: 1 min 53 sec
- test_socket: 1 min 22 sec
- test_tokenize: 1 min 10 sec
- test_capi: 1 min 7 sec
- test.test_multiprocessing_forkserver.test_processes: 1 min 6 sec
- test_signal: 56.4 sec
1 test failed: test_peg_generator
14 tests skipped: test.test_asyncio.test_windows_events test.test_asyncio.test_windows_utils test_devpoll test_ioctl test_kqueue test_launcher test_startfile test_tkinter test_ttk test_winconsoleio test_winreg test_winsound test_wmi test_zipfile64
1 re-run test: test_peg_generator
Total duration: 5 min 49 sec
Captured traceback
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmp0syraa5i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpqahg2he4/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpzw91kld6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp9ephdt2x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpi6sj3fzo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpe_yxp1oh/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpovv_5y2f/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmppd5in7v2/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpa7dcxvij\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmph_d2czhx/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpu2f8lxar/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpms2jrk49/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpo7kxlsjp/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpxio94lfd/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpgt9fulo3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpfdpo5p8k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp9mxb12_i/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpi6sj3fzo/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpa7dcxvij/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpr788cxyf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpp0sbp2dm/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 246, in test_left_recursion self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpheejccu4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpdg9ms461\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpmjl0ucq9/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpk5igxuey\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmppkxgy7a7/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpx3wslkcm/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmppd5in7v2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 182, in test_c_parser
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpqahg2he4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpxbdn4_g_/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp5a3n8t5s/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpvzzpl49_/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 512, in test_forced
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp5a3n8t5s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp9mxb12_i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 234, in test_gather self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpb6o897ol\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpdg9ms461/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp0atcykpr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpo7kxlsjp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 257, in test_advanced_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmph_d2czhx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpxbdn4_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 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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpxio94lfd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmppkxgy7a7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 397, in test_with_stmt_with_paren self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpx3wslkcm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmprjr1gj_h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 269, in test_mutually_left_recursive self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpms2jrk49\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp8558xksp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 371, in test_same_name_different_types self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpovv_5y2f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 206, in test_negative_lookahead
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp39kj7nsu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpi4tqz0ws\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp8558xksp/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpfdpo5p8k/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp39kj7nsu/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 194, in test_lookahead self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpe_yxp1oh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpkyv56k_l/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmph1ychdp5/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 297, in test_return_stmt_noexpr_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpvzzpl49_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmp08l_awq7/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpmg6vze01/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpazcpdav0/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpi4tqz0ws/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp0atcykpr/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 488, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpkyv56k_l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 458, in test_error_in_rules self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpp0sbp2dm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp9b_i75xs/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmp_n88vofn/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 323, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp7u5wuqgj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 500, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpmg6vze01\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpmjl0ucq9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 308, in test_gather_action_ast
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmph1ychdp5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpb6o897ol/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 415, in test_ternary_operator
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpu2f8lxar\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmp_n88vofn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmp8btn_je1/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpheejccu4/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 222, in test_cut
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmp9b_i75xs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 351, in test_if_stmt_action self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmp08l_awq7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpzw91kld6/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpoa5kb1jp/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmp0syraa5i/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp9ephdt2x/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmpgt9fulo3/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmp7u5wuqgj/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 431, in test_syntax_error_for_string self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmp8btn_je1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/test_python_worker_2859722��/tmprjr1gj_h/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last): File "<string>", line 14, in <module> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpk5igxuey/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 282, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test
assert_python_ok(
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/tmpazcpdav0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 525, in test_forced_with_group self.run_test(grammar_source, test_source) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 138, in run_test assert_python_ok( File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 166, in assert_python_ok return _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 76, in fail raise AssertionError("Process return code is %d\n" AssertionError: Process return code is 1 command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692æ/test_python_worker_2859722æ/tmpoa5kb1jp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\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> ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2859692��/tmpr788cxyf/parse.cpython-313d-aarch64-linux-gnu.so: undefined symbol: _PyArena_AddPyObject
Test report
Failed tests:
- test_peg_generator
Failed subtests:
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_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_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
Sincerely, -The Buildbot
participants (1)
-
buildbot@python.org