| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
… the call Creating the Interpreter objects can start a garbage collection which finalizes an object owning the last reference to a listed interpreter. Skip interpreters which no longer exist instead of failing.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Sorry, something went wrong.
|
GH-156004 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-156005 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-156006 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
…g the call (GH-155998) (GH-156005) Creating the Interpreter objects can start a garbage collection which finalizes an object owning the last reference to a listed interpreter. Skip interpreters which no longer exist instead of failing. (cherry picked from commit 60dff5a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…g the call (GH-155998) (GH-156006) Creating the Interpreter objects can start a garbage collection which finalizes an object owning the last reference to a listed interpreter. Skip interpreters which no longer exist instead of failing. (cherry picked from commit 60dff5a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Fedora Stable Clang 3.13 (tier-3) has failed when building commit 5b49a29. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1667/builds/1078 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp9i2_myt2/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_seq_flatten
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 186, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpecl1649f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 327, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp624r7v1n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmp4riwpgtm/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 312, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpj3q48crt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 462, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpv2s77ef5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 401, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp5a4ci6ad\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpj5l4hnrl/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 198, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpo418yff3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpj3q48crt/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Module
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 250, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpj5l4hnrl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpvbyb79cr/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpsqk1ztdi/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_forced_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmp486azbr6/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_seq_flatten
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpbm7ers82/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_name_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpef10pobc/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Module
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 375, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp1yz3zull\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmp6sbtlif0/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_soft_keyword
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 401, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmp8h4ckizp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp5a4ci6ad/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_seq_flatten
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmp8h4ckizp/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_seq_flatten
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpf9oqu1bu/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_seq_insert_in_front
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 301, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpes2jid8k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 250, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpwdnox15z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpmj3z32lr/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpu_5jqtc6/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Module
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 529, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpvbyb79cr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 375, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpx44etpu_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 492, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp2er4xc2c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpyvd7qvie/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 327, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpu_5jqtc6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpx44etpu_/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 312, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpef10pobc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 419, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpfj2hgifa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 462, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpmos5ja_a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 286, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpzb0zldby\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpo418yff3/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_name_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmp2gl7lt5e/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_soft_keyword
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 238, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpf9oqu1bu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 198, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpbm7ers82\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 226, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmp33n_3s1y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpecl1649f/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpn8m9w2l_/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 286, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpyvd7qvie\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 261, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 140, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 137, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Tools/peg_generator/pegen/testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Tools/peg_generator/pegen/build.py", line 190, in compile_c_extension
compiler.create_static_lib(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects, extension_name, output_dir=library_dir, debug=cmd.debug
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/unix.py", line 234, in create_static_lib
self.spawn(self.archiver + [output_filename] + objects + self.objects)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/base.py", line 1158, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/ar' failed with exit code 1
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 210, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpvdqqcvw2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 435, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpojl_8423\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpip5lwent/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Name
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 261, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 140, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 137, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Tools/peg_generator/pegen/testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Tools/peg_generator/pegen/build.py", line 190, in compile_c_extension
compiler.create_static_lib(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects, extension_name, output_dir=library_dir, debug=cmd.debug
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/unix.py", line 234, in create_static_lib
self.spawn(self.archiver + [output_filename] + objects + self.objects)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/base.py", line 1158, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn
raise DistutilsExecError(
f"command {_debug(cmd)!r} failed with exit code {err.returncode}"
) from err
distutils.errors.DistutilsExecError: command '/usr/bin/ar' failed with exit code 1
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpvdqqcvw2/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_name_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 355, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp9i2_myt2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 529, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpfpftomo5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/spawn.py", line 87, in spawn
subprocess.check_call(cmd, env=_inject_macos_ver(env))
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 420, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/ar', 'rcs', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpd5n4qkj0/libparse.a', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpd5n4qkj0/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Python/Python-ast.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpd5n4qkj0/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Python/asdl.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpd5n4qkj0/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/lexer
t/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Tools/peg_generator/peg_extension/peg_extension.o']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 273, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpuvo2qwr2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpes2jid8k/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Module
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp2er4xc2c/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_soft_keyword
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpojl_8423/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 516, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp8yhi_kyw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 226, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpn8m9w2l_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 516, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpsqk1ztdi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp8yhi_kyw/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_forced_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 504, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmp6sbtlif0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 238, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpagybqpbd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp624r7v1n/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Module
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 504, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp6g93quna\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 435, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmp4riwpgtm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpuvo2qwr2/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp96zq_geb/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_name_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp6g93quna/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_soft_keyword
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 492, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmp2gl7lt5e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpfpftomo5/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpfj2hgifa/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Name
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpv2s77ef5/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmp1yz3zull/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmps3tf6xdi/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 186, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmpmj3z32lr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmp33n_3s1y/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpvuynhe2d/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyAST_Module
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 355, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmp486azbr6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpagybqpbd/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_seq_insert_in_front
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tempcwd/venv/lib/python3.13/site-packages/setuptools/_distutils/spawn.py", line 87, in spawn
subprocess.check_call(cmd, env=_inject_macos_ver(env))
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 420, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/ar', 'rcs', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/libparse.a', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Python/Python-ast.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Python/asdl.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/lexer/lexer.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/lexer/state.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/lexer/buffer.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/tokenizer/string_tokenizer.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/tokenizer/file_tokenizer.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/tokenizer/utf8_tokenizer.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/tokenizer/readline_tokenizer.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/tokenizer/helpers.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/pegen.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/pegen_errors.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/action_helpers.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Parser/string_parser.o', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmphheo562q/var/lib/buildb
t/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Tools/peg_generator/peg_extension/peg_extension.o']' returned non-zero exit status 1.
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpzb0zldby/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576��/tmpwdnox15z/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_update_memo
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 301, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpvuynhe2d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011��/tmpmos5ja_a/parse.cpython-313d-s390x-linux-gnu.so: undefined symbol: _PyPegen_expect_token
---
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 210, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3826576æ/tmp96zq_geb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 419, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmpip5lwent\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 273, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 142, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.13.cstratak-fedora-stable-s390x.clang/build/build/test_python_3818011æ/tmps3tf6xdi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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']
|
Sorry, something went wrong.
…g the call (GH-155998) (GH-156004) Creating the Interpreter objects can start a garbage collection which finalizes an object owning the last reference to a listed interpreter. Skip interpreters which no longer exist instead of failing. (cherry picked from commit 60dff5a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
| Back | FazBrowse Home | New Git URL |
Skip interpreters which no longer exist, instead of failing.