Buildbot-status
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
June 2024
- 1 participants
- 209 discussions
☠ Buildbot (Python): python/cpython - failed test (failure) (main)
by buildbot@python.org 25 Jun '24
by buildbot@python.org 25 Jun '24
25 Jun '24
The Buildbot has detected a new failure on builder x86-64 MacOS Intel NoGIL 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1258/builds/2227
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-macos-intel-aws
Build Reason: <unknown>
Blamelist: Nate Ohlson <nateohlson(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 32, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_52254æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_52254æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 32, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72667æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72667æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 37, in test_build_c11
self.check_build('_test_c11_cext', std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72666æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72666æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 34, in test_build
self.check_build('_test_cext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54906æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54906æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 36, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_52254æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_52254æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 37, in test_build_c11
self.check_build('_test_c11_cext', std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54906æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54906æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 29, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_52254æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_52254æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 34, in test_build
self.check_build('_test_cext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72666æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72666æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 41, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72666æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72666æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 36, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72667æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72667æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 29, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72667æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_72667æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 41, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54906æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54906æ/tempcwd/pkg']' returned non-zero exit status 1.
Test report
===========
Failed tests:
- test_cppext
- test_cext
Failed subtests:
- test_build_c11 - test.test_cext.TestExt.test_build_c11
- test_build - test.test_cppext.TestCPPExt.test_build
- test_build_cpp03 - test.test_cppext.TestCPPExt.test_build_cpp03
- test_build - test.test_cext.TestExt.test_build
- test_build_c99 - test.test_cext.TestExt.test_build_c99
- test_build_cpp11 - test.test_cppext.TestCPPExt.test_build_cpp11
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder ARM64 macOS 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/725/builds/8336
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: pablogsal-macos-m1
Build Reason: <unknown>
Blamelist: Nate Ohlson <nateohlson(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 45, in test_build_limited
self.check_build('_test_limited_cext', limited=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 41, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 49, in test_build_limited_c11
self.check_build('_test_limited_c11_cext', limited=True, std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 34, in test_build
self.check_build('_test_cext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 49, in test_build_limited_c11
self.check_build('_test_limited_c11_cext', limited=True, std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_ssl.py", line 5025, in test_preauth_data_to_tls_server
self.non_linux_skip_if_other_okay_error(wrap_error)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_ssl.py", line 4972, in non_linux_skip_if_other_okay_error
re.search('wrong.version.number', getattr(err, "reason", ""), re.I)):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/re/__init__.py", line 177, in search
return _compile(pattern, flags).search(string)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 32, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49136æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49136æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 37, in test_build_c11
self.check_build('_test_c11_cext', std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 45, in test_build_limited
self.check_build('_test_limited_cext', limited=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 29, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49136æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49136æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 29, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52959æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52959æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 32, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52959æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52959æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 41, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 37, in test_build_c11
self.check_build('_test_c11_cext', std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49638æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 34, in test_build
self.check_build('_test_cext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52960æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 36, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49136æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_49136æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 36, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52959æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_52959æ/tempcwd/pkg']' returned non-zero exit status 1.
Test report
===========
Failed tests:
- test_cppext
- test_ssl
- test_cext
Failed subtests:
- test_build_c11 - test.test_cext.TestExt.test_build_c11
- test_build_limited - test.test_cext.TestExt.test_build_limited
- test_build - test.test_cppext.TestCPPExt.test_build
- test_build_cpp03 - test.test_cppext.TestCPPExt.test_build_cpp03
- test_preauth_data_to_tls_server - test.test_ssl.TestPreHandshakeClose.test_preauth_data_to_tls_server
- test_build - test.test_cext.TestExt.test_build
- test_build_c99 - test.test_cext.TestExt.test_build_c99
- test_build_limited_c11 - test.test_cext.TestExt.test_build_limited_c11
- test_build_cpp11 - test.test_cppext.TestCPPExt.test_build_cpp11
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder ARM64 MacOS M1 NoGIL 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1270/builds/1926
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-macos-arm64-aws
Build Reason: <unknown>
Blamelist: Nate Ohlson <nateohlson(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 29, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33567æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33567æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 29, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32550æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32550æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 41, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33568æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33568æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 32, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33567æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33567æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 37, in test_build_c11
self.check_build('_test_c11_cext', std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33568æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33568æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 36, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33567æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33567æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 41, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32679æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32679æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 34, in test_build
self.check_build('_test_cext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33568æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_33568æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 34, in test_build
self.check_build('_test_cext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32679æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32679æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 32, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32550æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32550æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 37, in test_build_c11
self.check_build('_test_c11_cext', std='c11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 54, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 89, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cext/__init__.py", line 72, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32679æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32679æ/tempcwd/pkg']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 36, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 47, in check_build
self._check_build(extension_name, python_exe, std=std)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 79, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_cppext/__init__.py", line 62, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32550æ/tempcwd/env/bin/python.exe', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_32550æ/tempcwd/pkg']' returned non-zero exit status 1.
Test report
===========
Failed tests:
- test_cppext
- test_cext
Failed subtests:
- test_build_c11 - test.test_cext.TestExt.test_build_c11
- test_build - test.test_cppext.TestCPPExt.test_build
- test_build_cpp03 - test.test_cppext.TestCPPExt.test_build_cpp03
- test_build - test.test_cext.TestExt.test_build
- test_build_c99 - test.test_cext.TestExt.test_build_c99
- test_build_cpp11 - test.test_cppext.TestCPPExt.test_build_cpp11
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): - failed test (failure) (fd0f814ade43fa479bfbe76dc226424db14a9354)
by buildbot@python.org 25 Jun '24
by buildbot@python.org 25 Jun '24
25 Jun '24
The Buildbot has detected a new failure on builder PPC64LE RHEL8 Refleaks 3.x while building Python.
Full details are available at:
https://buildbot.python.org/all/#/builders/384/builds/1157
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-ppc64le
Build Reason: <unknown>
Blamelist:
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
Captured traceback
==================
remote: Enumerating objects: 217, done.
remote: Counting objects: 0% (1/208)
remote: Counting objects: 1% (3/208)
remote: Counting objects: 2% (5/208)
remote: Counting objects: 3% (7/208)
remote: Counting objects: 4% (9/208)
remote: Counting objects: 5% (11/208)
remote: Counting objects: 6% (13/208)
remote: Counting objects: 7% (15/208)
remote: Counting objects: 8% (17/208)
remote: Counting objects: 9% (19/208)
remote: Counting objects: 10% (21/208)
remote: Counting objects: 11% (23/208)
remote: Counting objects: 12% (25/208)
remote: Counting objects: 13% (28/208)
remote: Counting objects: 14% (30/208)
remote: Counting objects: 15% (32/208)
remote: Counting objects: 16% (34/208)
remote: Counting objects: 17% (36/208)
remote: Counting objects: 18% (38/208)
remote: Counting objects: 19% (40/208)
remote: Counting objects: 20% (42/208)
remote: Counting objects: 21% (44/208)
remote: Counting objects: 22% (46/208)
remote: Counting objects: 23% (48/208)
remote: Counting objects: 24% (50/208)
remote: Counting objects: 25% (52/208)
remote: Counting objects: 26% (55/208)
remote: Counting objects: 27% (57/208)
remote: Counting objects: 28% (59/208)
remote: Counting objects: 29% (61/208)
remote: Counting objects: 30% (63/208)
remote: Counting objects: 31% (65/208)
remote: Counting objects: 32% (67/208)
remote: Counting objects: 33% (69/208)
remote: Counting objects: 34% (71/208)
remote: Counting objects: 35% (73/208)
remote: Counting objects: 36% (75/208)
remote: Counting objects: 37% (77/208)
remote: Counting objects: 38% (80/208)
remote: Counting objects: 39% (82/208)
remote: Counting objects: 40% (84/208)
remote: Counting objects: 41% (86/208)
remote: Counting objects: 42% (88/208)
remote: Counting objects: 43% (90/208)
remote: Counting objects: 44% (92/208)
remote: Counting objects: 45% (94/208)
remote: Counting objects: 46% (96/208)
remote: Counting objects: 47% (98/208)
remote: Counting objects: 48% (100/208)
remote: Counting objects: 49% (102/208)
remote: Counting objects: 50% (104/208)
remote: Counting objects: 51% (107/208)
remote: Counting objects: 52% (109/208)
remote: Counting objects: 53% (111/208)
remote: Counting objects: 54% (113/208)
remote: Counting objects: 55% (115/208)
remote: Counting objects: 56% (117/208)
remote: Counting objects: 57% (119/208)
remote: Counting objects: 58% (121/208)
remote: Counting objects: 59% (123/208)
remote: Counting objects: 60% (125/208)
remote: Counting objects: 61% (127/208)
remote: Counting objects: 62% (129/208)
remote: Counting objects: 63% (132/208)
remote: Counting objects: 64% (134/208)
remote: Counting objects: 65% (136/208)
remote: Counting objects: 66% (138/208)
remote: Counting objects: 67% (140/208)
remote: Counting objects: 68% (142/208)
remote: Counting objects: 69% (144/208)
remote: Counting objects: 70% (146/208)
remote: Counting objects: 71% (148/208)
remote: Counting objects: 72% (150/208)
remote: Counting objects: 73% (152/208)
remote: Counting objects: 74% (154/208)
remote: Counting objects: 75% (156/208)
remote: Counting objects: 76% (159/208)
remote: Counting objects: 77% (161/208)
remote: Counting objects: 78% (163/208)
remote: Counting objects: 79% (165/208)
remote: Counting objects: 80% (167/208)
remote: Counting objects: 81% (169/208)
remote: Counting objects: 82% (171/208)
remote: Counting objects: 83% (173/208)
remote: Counting objects: 84% (175/208)
remote: Counting objects: 85% (177/208)
remote: Counting objects: 86% (179/208)
remote: Counting objects: 87% (181/208)
remote: Counting objects: 88% (184/208)
remote: Counting objects: 89% (186/208)
remote: Counting objects: 90% (188/208)
remote: Counting objects: 91% (190/208)
remote: Counting objects: 92% (192/208)
remote: Counting objects: 93% (194/208)
remote: Counting objects: 94% (196/208)
remote: Counting objects: 95% (198/208)
remote: Counting objects: 96% (200/208)
remote: Counting objects: 97% (202/208)
remote: Counting objects: 98% (204/208)
remote: Counting objects: 99% (206/208)
remote: Counting objects: 100% (208/208)
remote: Counting objects: 100% (208/208), done.
remote: Compressing objects: 0% (1/120)
remote: Compressing objects: 1% (2/120)
remote: Compressing objects: 2% (3/120)
remote: Compressing objects: 3% (4/120)
remote: Compressing objects: 4% (5/120)
remote: Compressing objects: 5% (6/120)
remote: Compressing objects: 6% (8/120)
remote: Compressing objects: 7% (9/120)
remote: Compressing objects: 8% (10/120)
remote: Compressing objects: 9% (11/120)
remote: Compressing objects: 10% (12/120)
remote: Compressing objects: 11% (14/120)
remote: Compressing objects: 12% (15/120)
remote: Compressing objects: 13% (16/120)
remote: Compressing objects: 14% (17/120)
remote: Compressing objects: 15% (18/120)
remote: Compressing objects: 16% (20/120)
remote: Compressing objects: 17% (21/120)
remote: Compressing objects: 18% (22/120)
remote: Compressing objects: 19% (23/120)
remote: Compressing objects: 20% (24/120)
remote: Compressing objects: 21% (26/120)
remote: Compressing objects: 22% (27/120)
remote: Compressing objects: 23% (28/120)
remote: Compressing objects: 24% (29/120)
remote: Compressing objects: 25% (30/120)
remote: Compressing objects: 26% (32/120)
remote: Compressing objects: 27% (33/120)
remote: Compressing objects: 28% (34/120)
remote: Compressing objects: 29% (35/120)
remote: Compressing objects: 30% (36/120)
remote: Compressing objects: 31% (38/120)
remote: Compressing objects: 32% (39/120)
remote: Compressing objects: 33% (40/120)
remote: Compressing objects: 34% (41/120)
remote: Compressing objects: 35% (42/120)
remote: Compressing objects: 36% (44/120)
remote: Compressing objects: 37% (45/120)
remote: Compressing objects: 38% (46/120)
remote: Compressing objects: 39% (47/120)
remote: Compressing objects: 40% (48/120)
remote: Compressing objects: 41% (50/120)
remote: Compressing objects: 42% (51/120)
remote: Compressing objects: 43% (52/120)
remote: Compressing objects: 44% (53/120)
remote: Compressing objects: 45% (54/120)
remote: Compressing objects: 46% (56/120)
remote: Compressing objects: 47% (57/120)
remote: Compressing objects: 48% (58/120)
remote: Compressing objects: 49% (59/120)
remote: Compressing objects: 50% (60/120)
remote: Compressing objects: 51% (62/120)
remote: Compressing objects: 52% (63/120)
remote: Compressing objects: 53% (64/120)
remote: Compressing objects: 54% (65/120)
remote: Compressing objects: 55% (66/120)
remote: Compressing objects: 56% (68/120)
remote: Compressing objects: 57% (69/120)
remote: Compressing objects: 58% (70/120)
remote: Compressing objects: 59% (71/120)
remote: Compressing objects: 60% (72/120)
remote: Compressing objects: 61% (74/120)
remote: Compressing objects: 62% (75/120)
remote: Compressing objects: 63% (76/120)
remote: Compressing objects: 64% (77/120)
remote: Compressing objects: 65% (78/120)
remote: Compressing objects: 66% (80/120)
remote: Compressing objects: 67% (81/120)
remote: Compressing objects: 68% (82/120)
remote: Compressing objects: 69% (83/120)
remote: Compressing objects: 70% (84/120)
remote: Compressing objects: 71% (86/120)
remote: Compressing objects: 72% (87/120)
remote: Compressing objects: 73% (88/120)
remote: Compressing objects: 74% (89/120)
remote: Compressing objects: 75% (90/120)
remote: Compressing objects: 76% (92/120)
remote: Compressing objects: 77% (93/120)
remote: Compressing objects: 78% (94/120)
remote: Compressing objects: 79% (95/120)
remote: Compressing objects: 80% (96/120)
remote: Compressing objects: 81% (98/120)
remote: Compressing objects: 82% (99/120)
remote: Compressing objects: 83% (100/120)
remote: Compressing objects: 84% (101/120)
remote: Compressing objects: 85% (102/120)
remote: Compressing objects: 86% (104/120)
remote: Compressing objects: 87% (105/120)
remote: Compressing objects: 88% (106/120)
remote: Compressing objects: 89% (107/120)
remote: Compressing objects: 90% (108/120)
remote: Compressing objects: 91% (110/120)
remote: Compressing objects: 92% (111/120)
remote: Compressing objects: 93% (112/120)
remote: Compressing objects: 94% (113/120)
remote: Compressing objects: 95% (114/120)
remote: Compressing objects: 96% (116/120)
remote: Compressing objects: 97% (117/120)
remote: Compressing objects: 98% (118/120)
remote: Compressing objects: 99% (119/120)
remote: Compressing objects: 100% (120/120)
remote: Compressing objects: 100% (120/120), done.
Receiving objects: 0% (1/217)
Receiving objects: 1% (3/217)
Receiving objects: 2% (5/217)
Receiving objects: 3% (7/217)
Receiving objects: 4% (9/217)
Receiving objects: 5% (11/217)
Receiving objects: 6% (14/217)
Receiving objects: 7% (16/217)
Receiving objects: 8% (18/217)
Receiving objects: 9% (20/217)
Receiving objects: 10% (22/217)
Receiving objects: 11% (24/217)
Receiving objects: 12% (27/217)
Receiving objects: 13% (29/217)
Receiving objects: 14% (31/217)
Receiving objects: 15% (33/217)
Receiving objects: 16% (35/217)
Receiving objects: 17% (37/217)
Receiving objects: 18% (40/217)
Receiving objects: 19% (42/217)
Receiving objects: 20% (44/217)
Receiving objects: 21% (46/217)
Receiving objects: 22% (48/217)
Receiving objects: 23% (50/217)
Receiving objects: 24% (53/217)
Receiving objects: 25% (55/217)
Receiving objects: 26% (57/217)
Receiving objects: 27% (59/217)
Receiving objects: 28% (61/217)
Receiving objects: 29% (63/217)
Receiving objects: 30% (66/217)
Receiving objects: 31% (68/217)
Receiving objects: 32% (70/217)
Receiving objects: 33% (72/217)
Receiving objects: 34% (74/217)
Receiving objects: 35% (76/217)
Receiving objects: 36% (79/217)
Receiving objects: 37% (81/217)
Receiving objects: 38% (83/217)
Receiving objects: 39% (85/217)
Receiving objects: 40% (87/217)
Receiving objects: 41% (89/217)
Receiving objects: 42% (92/217)
Receiving objects: 43% (94/217)
Receiving objects: 44% (96/217)
Receiving objects: 45% (98/217)
Receiving objects: 46% (100/217)
Receiving objects: 47% (102/217)
Receiving objects: 48% (105/217)
Receiving objects: 49% (107/217)
Receiving objects: 50% (109/217)
Receiving objects: 51% (111/217)
Receiving objects: 52% (113/217)
Receiving objects: 53% (116/217)
Receiving objects: 54% (118/217)
Receiving objects: 55% (120/217)
Receiving objects: 56% (122/217)
Receiving objects: 57% (124/217)
Receiving objects: 58% (126/217)
Receiving objects: 59% (129/217)
Receiving objects: 60% (131/217)
Receiving objects: 61% (133/217)
Receiving objects: 62% (135/217)
Receiving objects: 63% (137/217)
Receiving objects: 64% (139/217)
Receiving objects: 65% (142/217)
Receiving objects: 66% (144/217)
Receiving objects: 67% (146/217)
Receiving objects: 68% (148/217)
Receiving objects: 69% (150/217)
Receiving objects: 70% (152/217)
Receiving objects: 71% (155/217)
Receiving objects: 72% (157/217)
Receiving objects: 73% (159/217)
Receiving objects: 74% (161/217)
Receiving objects: 75% (163/217)
Receiving objects: 76% (165/217)
Receiving objects: 77% (168/217)
Receiving objects: 78% (170/217)
Receiving objects: 79% (172/217)
Receiving objects: 80% (174/217)
Receiving objects: 81% (176/217)
Receiving objects: 82% (178/217)
Receiving objects: 83% (181/217)
Receiving objects: 84% (183/217)
Receiving objects: 85% (185/217)
Receiving objects: 86% (187/217)
remote: Total 217 (delta 123), reused 132 (delta 88), pack-reused 9
Receiving objects: 87% (189/217)
Receiving objects: 88% (191/217)
Receiving objects: 89% (194/217)
Receiving objects: 90% (196/217)
Receiving objects: 91% (198/217)
Receiving objects: 92% (200/217)
Receiving objects: 93% (202/217)
Receiving objects: 94% (204/217)
Receiving objects: 95% (207/217)
Receiving objects: 96% (209/217)
Receiving objects: 97% (211/217)
Receiving objects: 98% (213/217)
Receiving objects: 99% (215/217)
Receiving objects: 100% (217/217)
Receiving objects: 100% (217/217), 935.37 KiB | 7.99 MiB/s, done.
Resolving deltas: 0% (0/123)
Resolving deltas: 1% (2/123)
Resolving deltas: 2% (3/123)
Resolving deltas: 3% (4/123)
Resolving deltas: 4% (5/123)
Resolving deltas: 5% (7/123)
Resolving deltas: 6% (8/123)
Resolving deltas: 7% (9/123)
Resolving deltas: 8% (10/123)
Resolving deltas: 9% (12/123)
Resolving deltas: 10% (13/123)
Resolving deltas: 11% (14/123)
Resolving deltas: 12% (15/123)
Resolving deltas: 13% (16/123)
Resolving deltas: 14% (18/123)
Resolving deltas: 15% (19/123)
Resolving deltas: 16% (20/123)
Resolving deltas: 17% (21/123)
Resolving deltas: 18% (23/123)
Resolving deltas: 20% (25/123)
Resolving deltas: 21% (26/123)
Resolving deltas: 24% (30/123)
Resolving deltas: 25% (31/123)
Resolving deltas: 26% (32/123)
Resolving deltas: 27% (34/123)
Resolving deltas: 28% (35/123)
Resolving deltas: 29% (36/123)
Resolving deltas: 30% (37/123)
Resolving deltas: 31% (39/123)
Resolving deltas: 32% (40/123)
Resolving deltas: 33% (41/123)
Resolving deltas: 34% (42/123)
Resolving deltas: 35% (44/123)
Resolving deltas: 37% (46/123)
Resolving deltas: 38% (47/123)
Resolving deltas: 39% (48/123)
Resolving deltas: 40% (50/123)
Resolving deltas: 41% (51/123)
Resolving deltas: 42% (52/123)
Resolving deltas: 43% (53/123)
Resolving deltas: 44% (55/123)
Resolving deltas: 45% (56/123)
Resolving deltas: 46% (57/123)
Resolving deltas: 47% (58/123)
Resolving deltas: 48% (60/123)
Resolving deltas: 50% (62/123)
Resolving deltas: 51% (63/123)
Resolving deltas: 52% (64/123)
Resolving deltas: 53% (66/123)
Resolving deltas: 54% (67/123)
Resolving deltas: 55% (68/123)
Resolving deltas: 56% (69/123)
Resolving deltas: 57% (71/123)
Resolving deltas: 58% (72/123)
Resolving deltas: 59% (73/123)
Resolving deltas: 60% (74/123)
Resolving deltas: 61% (76/123)
Resolving deltas: 62% (77/123)
Resolving deltas: 63% (78/123)
Resolving deltas: 64% (79/123)
Resolving deltas: 65% (80/123)
Resolving deltas: 66% (82/123)
Resolving deltas: 67% (83/123)
Resolving deltas: 68% (84/123)
Resolving deltas: 69% (85/123)
Resolving deltas: 70% (87/123)
Resolving deltas: 71% (88/123)
Resolving deltas: 72% (89/123)
Resolving deltas: 73% (90/123)
Resolving deltas: 74% (92/123)
Resolving deltas: 75% (93/123)
Resolving deltas: 76% (94/123)
Resolving deltas: 77% (95/123)
Resolving deltas: 78% (96/123)
Resolving deltas: 79% (98/123)
Resolving deltas: 80% (99/123)
Resolving deltas: 81% (100/123)
Resolving deltas: 82% (101/123)
Resolving deltas: 83% (103/123)
Resolving deltas: 84% (104/123)
Resolving deltas: 85% (105/123)
Resolving deltas: 86% (106/123)
Resolving deltas: 87% (108/123)
Resolving deltas: 88% (109/123)
Resolving deltas: 89% (110/123)
Resolving deltas: 90% (111/123)
Resolving deltas: 91% (112/123)
Resolving deltas: 92% (114/123)
Resolving deltas: 93% (115/123)
Resolving deltas: 94% (116/123)
Resolving deltas: 95% (117/123)
Resolving deltas: 96% (119/123)
Resolving deltas: 97% (120/123)
Resolving deltas: 98% (121/123)
Resolving deltas: 99% (122/123)
Resolving deltas: 100% (123/123)
Resolving deltas: 100% (123/123), completed with 56 local objects.
From https://github.com/python/cpython
* branch main -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at fd0f814ade Add --with-lto back to Linux JIT CI (GH-120921)
Switched to and reset branch 'main'
configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)
make: *** [Makefile:2252: buildbottest] Terminated
Test report
===========
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder PPC64LE Fedora Stable Refleaks 3.x while building Python.
Full details are available at:
https://buildbot.python.org/all/#/builders/280/builds/1105
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-ppc64le
Build Reason: <unknown>
Blamelist:
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
remote: Enumerating objects: 217, done.
remote: Counting objects: 0% (1/203)
remote: Counting objects: 1% (3/203)
remote: Counting objects: 2% (5/203)
remote: Counting objects: 3% (7/203)
remote: Counting objects: 4% (9/203)
remote: Counting objects: 5% (11/203)
remote: Counting objects: 6% (13/203)
remote: Counting objects: 7% (15/203)
remote: Counting objects: 8% (17/203)
remote: Counting objects: 9% (19/203)
remote: Counting objects: 10% (21/203)
remote: Counting objects: 11% (23/203)
remote: Counting objects: 12% (25/203)
remote: Counting objects: 13% (27/203)
remote: Counting objects: 14% (29/203)
remote: Counting objects: 15% (31/203)
remote: Counting objects: 16% (33/203)
remote: Counting objects: 17% (35/203)
remote: Counting objects: 18% (37/203)
remote: Counting objects: 19% (39/203)
remote: Counting objects: 20% (41/203)
remote: Counting objects: 21% (43/203)
remote: Counting objects: 22% (45/203)
remote: Counting objects: 23% (47/203)
remote: Counting objects: 24% (49/203)
remote: Counting objects: 25% (51/203)
remote: Counting objects: 26% (53/203)
remote: Counting objects: 27% (55/203)
remote: Counting objects: 28% (57/203)
remote: Counting objects: 29% (59/203)
remote: Counting objects: 30% (61/203)
remote: Counting objects: 31% (63/203)
remote: Counting objects: 32% (65/203)
remote: Counting objects: 33% (67/203)
remote: Counting objects: 34% (70/203)
remote: Counting objects: 35% (72/203)
remote: Counting objects: 36% (74/203)
remote: Counting objects: 37% (76/203)
remote: Counting objects: 38% (78/203)
remote: Counting objects: 39% (80/203)
remote: Counting objects: 40% (82/203)
remote: Counting objects: 41% (84/203)
remote: Counting objects: 42% (86/203)
remote: Counting objects: 43% (88/203)
remote: Counting objects: 44% (90/203)
remote: Counting objects: 45% (92/203)
remote: Counting objects: 46% (94/203)
remote: Counting objects: 47% (96/203)
remote: Counting objects: 48% (98/203)
remote: Counting objects: 49% (100/203)
remote: Counting objects: 50% (102/203)
remote: Counting objects: 51% (104/203)
remote: Counting objects: 52% (106/203)
remote: Counting objects: 53% (108/203)
remote: Counting objects: 54% (110/203)
remote: Counting objects: 55% (112/203)
remote: Counting objects: 56% (114/203)
remote: Counting objects: 57% (116/203)
remote: Counting objects: 58% (118/203)
remote: Counting objects: 59% (120/203)
remote: Counting objects: 60% (122/203)
remote: Counting objects: 61% (124/203)
remote: Counting objects: 62% (126/203)
remote: Counting objects: 63% (128/203)
remote: Counting objects: 64% (130/203)
remote: Counting objects: 65% (132/203)
remote: Counting objects: 66% (134/203)
remote: Counting objects: 67% (137/203)
remote: Counting objects: 68% (139/203)
remote: Counting objects: 69% (141/203)
remote: Counting objects: 70% (143/203)
remote: Counting objects: 71% (145/203)
remote: Counting objects: 72% (147/203)
remote: Counting objects: 73% (149/203)
remote: Counting objects: 74% (151/203)
remote: Counting objects: 75% (153/203)
remote: Counting objects: 76% (155/203)
remote: Counting objects: 77% (157/203)
remote: Counting objects: 78% (159/203)
remote: Counting objects: 79% (161/203)
remote: Counting objects: 80% (163/203)
remote: Counting objects: 81% (165/203)
remote: Counting objects: 82% (167/203)
remote: Counting objects: 83% (169/203)
remote: Counting objects: 84% (171/203)
remote: Counting objects: 85% (173/203)
remote: Counting objects: 86% (175/203)
remote: Counting objects: 87% (177/203)
remote: Counting objects: 88% (179/203)
remote: Counting objects: 89% (181/203)
remote: Counting objects: 90% (183/203)
remote: Counting objects: 91% (185/203)
remote: Counting objects: 92% (187/203)
remote: Counting objects: 93% (189/203)
remote: Counting objects: 94% (191/203)
remote: Counting objects: 95% (193/203)
remote: Counting objects: 96% (195/203)
remote: Counting objects: 97% (197/203)
remote: Counting objects: 98% (199/203)
remote: Counting objects: 99% (201/203)
remote: Counting objects: 100% (203/203)
remote: Counting objects: 100% (203/203), done.
remote: Compressing objects: 0% (1/127)
remote: Compressing objects: 1% (2/127)
remote: Compressing objects: 2% (3/127)
remote: Compressing objects: 3% (4/127)
remote: Compressing objects: 4% (6/127)
remote: Compressing objects: 5% (7/127)
remote: Compressing objects: 6% (8/127)
remote: Compressing objects: 7% (9/127)
remote: Compressing objects: 8% (11/127)
remote: Compressing objects: 9% (12/127)
remote: Compressing objects: 10% (13/127)
remote: Compressing objects: 11% (14/127)
remote: Compressing objects: 12% (16/127)
remote: Compressing objects: 13% (17/127)
remote: Compressing objects: 14% (18/127)
remote: Compressing objects: 15% (20/127)
remote: Compressing objects: 16% (21/127)
remote: Compressing objects: 17% (22/127)
remote: Compressing objects: 18% (23/127)
remote: Compressing objects: 19% (25/127)
remote: Compressing objects: 20% (26/127)
remote: Compressing objects: 21% (27/127)
remote: Compressing objects: 22% (28/127)
remote: Compressing objects: 23% (30/127)
remote: Compressing objects: 24% (31/127)
remote: Compressing objects: 25% (32/127)
remote: Compressing objects: 26% (34/127)
remote: Compressing objects: 27% (35/127)
remote: Compressing objects: 28% (36/127)
remote: Compressing objects: 29% (37/127)
remote: Compressing objects: 30% (39/127)
remote: Compressing objects: 31% (40/127)
remote: Compressing objects: 32% (41/127)
remote: Compressing objects: 33% (42/127)
remote: Compressing objects: 34% (44/127)
remote: Compressing objects: 35% (45/127)
remote: Compressing objects: 36% (46/127)
remote: Compressing objects: 37% (47/127)
remote: Compressing objects: 38% (49/127)
remote: Compressing objects: 39% (50/127)
remote: Compressing objects: 40% (51/127)
remote: Compressing objects: 41% (53/127)
remote: Compressing objects: 42% (54/127)
remote: Compressing objects: 43% (55/127)
remote: Compressing objects: 44% (56/127)
remote: Compressing objects: 45% (58/127)
remote: Compressing objects: 46% (59/127)
remote: Compressing objects: 47% (60/127)
remote: Compressing objects: 48% (61/127)
remote: Compressing objects: 49% (63/127)
remote: Compressing objects: 50% (64/127)
remote: Compressing objects: 51% (65/127)
remote: Compressing objects: 52% (67/127)
remote: Compressing objects: 53% (68/127)
remote: Compressing objects: 54% (69/127)
remote: Compressing objects: 55% (70/127)
remote: Compressing objects: 56% (72/127)
remote: Compressing objects: 57% (73/127)
remote: Compressing objects: 58% (74/127)
remote: Compressing objects: 59% (75/127)
remote: Compressing objects: 60% (77/127)
remote: Compressing objects: 61% (78/127)
remote: Compressing objects: 62% (79/127)
remote: Compressing objects: 63% (81/127)
remote: Compressing objects: 64% (82/127)
remote: Compressing objects: 65% (83/127)
remote: Compressing objects: 66% (84/127)
remote: Compressing objects: 67% (86/127)
remote: Compressing objects: 68% (87/127)
remote: Compressing objects: 69% (88/127)
remote: Compressing objects: 70% (89/127)
remote: Compressing objects: 71% (91/127)
remote: Compressing objects: 72% (92/127)
remote: Compressing objects: 73% (93/127)
remote: Compressing objects: 74% (94/127)
remote: Compressing objects: 75% (96/127)
remote: Compressing objects: 76% (97/127)
remote: Compressing objects: 77% (98/127)
remote: Compressing objects: 78% (100/127)
remote: Compressing objects: 79% (101/127)
remote: Compressing objects: 80% (102/127)
remote: Compressing objects: 81% (103/127)
remote: Compressing objects: 82% (105/127)
remote: Compressing objects: 83% (106/127)
remote: Compressing objects: 84% (107/127)
remote: Compressing objects: 85% (108/127)
remote: Compressing objects: 86% (110/127)
remote: Compressing objects: 87% (111/127)
remote: Compressing objects: 88% (112/127)
remote: Compressing objects: 89% (114/127)
remote: Compressing objects: 90% (115/127)
remote: Compressing objects: 91% (116/127)
remote: Compressing objects: 92% (117/127)
remote: Compressing objects: 93% (119/127)
remote: Compressing objects: 94% (120/127)
remote: Compressing objects: 95% (121/127)
remote: Compressing objects: 96% (122/127)
remote: Compressing objects: 97% (124/127)
remote: Compressing objects: 98% (125/127)
remote: Compressing objects: 99% (126/127)
remote: Compressing objects: 100% (127/127)
remote: Compressing objects: 100% (127/127), done.
Receiving objects: 0% (1/217)
Receiving objects: 1% (3/217)
Receiving objects: 2% (5/217)
Receiving objects: 3% (7/217)
Receiving objects: 4% (9/217)
Receiving objects: 5% (11/217)
Receiving objects: 6% (14/217)
Receiving objects: 7% (16/217)
Receiving objects: 8% (18/217)
Receiving objects: 9% (20/217)
Receiving objects: 10% (22/217)
Receiving objects: 11% (24/217)
Receiving objects: 12% (27/217)
Receiving objects: 13% (29/217)
Receiving objects: 14% (31/217)
Receiving objects: 15% (33/217)
Receiving objects: 16% (35/217)
Receiving objects: 17% (37/217)
Receiving objects: 18% (40/217)
Receiving objects: 19% (42/217)
Receiving objects: 20% (44/217)
Receiving objects: 21% (46/217)
Receiving objects: 22% (48/217)
Receiving objects: 23% (50/217)
Receiving objects: 24% (53/217)
Receiving objects: 25% (55/217)
Receiving objects: 26% (57/217)
Receiving objects: 27% (59/217)
Receiving objects: 28% (61/217)
Receiving objects: 29% (63/217)
Receiving objects: 30% (66/217)
Receiving objects: 31% (68/217)
Receiving objects: 32% (70/217)
Receiving objects: 33% (72/217)
Receiving objects: 34% (74/217)
Receiving objects: 35% (76/217)
Receiving objects: 36% (79/217)
Receiving objects: 37% (81/217)
Receiving objects: 38% (83/217)
Receiving objects: 39% (85/217)
Receiving objects: 40% (87/217)
Receiving objects: 41% (89/217)
Receiving objects: 42% (92/217)
Receiving objects: 43% (94/217)
Receiving objects: 44% (96/217)
Receiving objects: 45% (98/217)
Receiving objects: 46% (100/217)
Receiving objects: 47% (102/217)
Receiving objects: 48% (105/217)
Receiving objects: 49% (107/217)
Receiving objects: 50% (109/217)
Receiving objects: 51% (111/217)
Receiving objects: 52% (113/217)
Receiving objects: 53% (116/217)
Receiving objects: 54% (118/217)
Receiving objects: 55% (120/217)
Receiving objects: 56% (122/217)
Receiving objects: 57% (124/217)
Receiving objects: 58% (126/217)
Receiving objects: 59% (129/217)
Receiving objects: 60% (131/217)
Receiving objects: 61% (133/217)
Receiving objects: 62% (135/217)
Receiving objects: 63% (137/217)
Receiving objects: 64% (139/217)
Receiving objects: 65% (142/217)
Receiving objects: 66% (144/217)
Receiving objects: 67% (146/217)
Receiving objects: 68% (148/217)
Receiving objects: 69% (150/217)
Receiving objects: 70% (152/217)
Receiving objects: 71% (155/217)
Receiving objects: 72% (157/217)
Receiving objects: 73% (159/217)
Receiving objects: 74% (161/217)
Receiving objects: 75% (163/217)
Receiving objects: 76% (165/217)
Receiving objects: 77% (168/217)
Receiving objects: 78% (170/217)
Receiving objects: 79% (172/217)
Receiving objects: 80% (174/217)
Receiving objects: 81% (176/217)
Receiving objects: 82% (178/217)
Receiving objects: 83% (181/217)
Receiving objects: 84% (183/217)
Receiving objects: 85% (185/217)
Receiving objects: 86% (187/217)
Receiving objects: 87% (189/217)
Receiving objects: 88% (191/217)
Receiving objects: 89% (194/217)
Receiving objects: 90% (196/217)
Receiving objects: 91% (198/217)
Receiving objects: 92% (200/217)
Receiving objects: 93% (202/217)
remote: Total 217 (delta 111), reused 121 (delta 76), pack-reused 14
Receiving objects: 94% (204/217)
Receiving objects: 95% (207/217)
Receiving objects: 96% (209/217)
Receiving objects: 97% (211/217)
Receiving objects: 98% (213/217)
Receiving objects: 99% (215/217)
Receiving objects: 100% (217/217)
Receiving objects: 100% (217/217), 928.42 KiB | 11.75 MiB/s, done.
Resolving deltas: 0% (0/111)
Resolving deltas: 1% (2/111)
Resolving deltas: 2% (3/111)
Resolving deltas: 3% (4/111)
Resolving deltas: 4% (5/111)
Resolving deltas: 5% (6/111)
Resolving deltas: 6% (7/111)
Resolving deltas: 7% (8/111)
Resolving deltas: 8% (9/111)
Resolving deltas: 9% (10/111)
Resolving deltas: 10% (12/111)
Resolving deltas: 11% (13/111)
Resolving deltas: 12% (14/111)
Resolving deltas: 13% (15/111)
Resolving deltas: 14% (16/111)
Resolving deltas: 15% (17/111)
Resolving deltas: 16% (18/111)
Resolving deltas: 17% (19/111)
Resolving deltas: 18% (20/111)
Resolving deltas: 19% (22/111)
Resolving deltas: 20% (23/111)
Resolving deltas: 21% (24/111)
Resolving deltas: 22% (25/111)
Resolving deltas: 23% (26/111)
Resolving deltas: 24% (27/111)
Resolving deltas: 25% (28/111)
Resolving deltas: 26% (29/111)
Resolving deltas: 27% (30/111)
Resolving deltas: 28% (32/111)
Resolving deltas: 30% (34/111)
Resolving deltas: 31% (35/111)
Resolving deltas: 32% (36/111)
Resolving deltas: 33% (37/111)
Resolving deltas: 34% (38/111)
Resolving deltas: 35% (39/111)
Resolving deltas: 36% (40/111)
Resolving deltas: 37% (42/111)
Resolving deltas: 38% (43/111)
Resolving deltas: 39% (44/111)
Resolving deltas: 40% (45/111)
Resolving deltas: 41% (46/111)
Resolving deltas: 42% (47/111)
Resolving deltas: 43% (48/111)
Resolving deltas: 44% (49/111)
Resolving deltas: 45% (50/111)
Resolving deltas: 47% (53/111)
Resolving deltas: 49% (55/111)
Resolving deltas: 50% (56/111)
Resolving deltas: 52% (58/111)
Resolving deltas: 53% (59/111)
Resolving deltas: 54% (60/111)
Resolving deltas: 55% (62/111)
Resolving deltas: 56% (63/111)
Resolving deltas: 57% (64/111)
Resolving deltas: 58% (65/111)
Resolving deltas: 59% (66/111)
Resolving deltas: 60% (67/111)
Resolving deltas: 61% (68/111)
Resolving deltas: 62% (69/111)
Resolving deltas: 63% (70/111)
Resolving deltas: 64% (72/111)
Resolving deltas: 65% (73/111)
Resolving deltas: 66% (74/111)
Resolving deltas: 67% (75/111)
Resolving deltas: 68% (76/111)
Resolving deltas: 69% (77/111)
Resolving deltas: 70% (78/111)
Resolving deltas: 71% (79/111)
Resolving deltas: 72% (80/111)
Resolving deltas: 73% (82/111)
Resolving deltas: 74% (83/111)
Resolving deltas: 75% (84/111)
Resolving deltas: 76% (85/111)
Resolving deltas: 77% (86/111)
Resolving deltas: 78% (87/111)
Resolving deltas: 79% (88/111)
Resolving deltas: 80% (89/111)
Resolving deltas: 81% (90/111)
Resolving deltas: 82% (92/111)
Resolving deltas: 83% (93/111)
Resolving deltas: 84% (94/111)
Resolving deltas: 85% (95/111)
Resolving deltas: 86% (96/111)
Resolving deltas: 87% (97/111)
Resolving deltas: 88% (98/111)
Resolving deltas: 89% (99/111)
Resolving deltas: 90% (100/111)
Resolving deltas: 91% (102/111)
Resolving deltas: 92% (103/111)
Resolving deltas: 93% (104/111)
Resolving deltas: 94% (105/111)
Resolving deltas: 95% (106/111)
Resolving deltas: 96% (107/111)
Resolving deltas: 97% (108/111)
Resolving deltas: 98% (109/111)
Resolving deltas: 99% (110/111)
Resolving deltas: 100% (111/111)
Resolving deltas: 100% (111/111), completed with 44 local objects.
From https://github.com/python/cpython
* branch main -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at fd0f814ade Add --with-lto back to Linux JIT CI (GH-120921)
Switched to and reset branch 'main'
configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)
make: *** [Makefile:2252: buildbottest] Error 2
Test report
===========
Failed tests:
- test_typing
Test leaking resources:
- test_typing: memory blocks
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - failed test (failure) (3.13)
by buildbot@python.org 25 Jun '24
by buildbot@python.org 25 Jun '24
25 Jun '24
The Buildbot has detected a new failure on builder ARM64 MacOS M1 Refleaks NoGIL 3.13 while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1396/builds/199
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-macos-arm64-aws
Build Reason: <unknown>
Blamelist: Barney Gale <barney.gale(a)gmail.com>, Jelle Zijlstra <jelle.zijlstra(a)gmail.com>, Miss Islington (bot) <31488909+miss-islington(a)users.noreply.github.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.13.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/datetimetester.py", line 304, in test_class_members
self.assertEqual(timezone.min.utcoffset(None), -limit)
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'float' object has no attribute 'utcoffset'
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.13.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_concurrent_futures/executor.py", line 131, in test_free_reference
self.assertIsNone(wr())
~~~~~~~~~~~~~~~~~^^^^^^
AssertionError: <test.test_concurrent_futures.executor.MyObject object at 0x200060b0090> is not None
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.13.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_concurrent_futures/executor.py", line 131, in test_free_reference
self.assertIsNone(wr())
~~~~~~~~~~~~~~~~~^^^^^^
AssertionError: <test.test_concurrent_futures.executor.MyObject object at 0x200040a00e0> is not None
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.13.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/datetimetester.py", line 410, in test_aware_datetime
self.assertEqual(tz.tzname(t),
^^^^^^^^^
AttributeError: 'float' object has no attribute 'tzname'
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.13.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/datetimetester.py", line 291, in test_str
self.assertEqual(str(tz), tz.tzname(None))
^^^^^^^^^
AttributeError: 'float' object has no attribute 'tzname'
Test report
===========
Failed tests:
- test.test_concurrent_futures.test_thread_pool
Failed subtests:
- test_aware_datetime - test.datetimetester.TestTimeZone_Fast.test_aware_datetime
- test_str - test.datetimetester.TestTimeZone_Fast.test_str
- test_free_reference - test.test_concurrent_futures.test_thread_pool.ThreadPoolExecutorTest.test_free_reference
- test_class_members - test.datetimetester.TestTimeZone_Fast.test_class_members
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - failed test (failure) (3.13)
by buildbot@python.org 25 Jun '24
by buildbot@python.org 25 Jun '24
25 Jun '24
The Buildbot has detected a new failure on builder iOS ARM64 Simulator 3.13 while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1386/builds/267
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: rkm-arm64-ios-simulator
Build Reason: <unknown>
Blamelist: Barney Gale <barney.gale(a)gmail.com>, Miss Islington (bot) <31488909+miss-islington(a)users.noreply.github.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
Captured traceback
==================
remote: Enumerating objects: 24, done.
remote: Counting objects: 4% (1/23)
remote: Counting objects: 8% (2/23)
remote: Counting objects: 13% (3/23)
remote: Counting objects: 17% (4/23)
remote: Counting objects: 21% (5/23)
remote: Counting objects: 26% (6/23)
remote: Counting objects: 30% (7/23)
remote: Counting objects: 34% (8/23)
remote: Counting objects: 39% (9/23)
remote: Counting objects: 43% (10/23)
remote: Counting objects: 47% (11/23)
remote: Counting objects: 52% (12/23)
remote: Counting objects: 56% (13/23)
remote: Counting objects: 60% (14/23)
remote: Counting objects: 65% (15/23)
remote: Counting objects: 69% (16/23)
remote: Counting objects: 73% (17/23)
remote: Counting objects: 78% (18/23)
remote: Counting objects: 82% (19/23)
remote: Counting objects: 86% (20/23)
remote: Counting objects: 91% (21/23)
remote: Counting objects: 95% (22/23)
remote: Counting objects: 100% (23/23)
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 10% (1/10)
remote: Compressing objects: 20% (2/10)
remote: Compressing objects: 30% (3/10)
remote: Compressing objects: 40% (4/10)
remote: Compressing objects: 50% (5/10)
remote: Compressing objects: 60% (6/10)
remote: Compressing objects: 70% (7/10)
remote: Compressing objects: 80% (8/10)
remote: Compressing objects: 90% (9/10)
remote: Compressing objects: 100% (10/10)
remote: Compressing objects: 100% (10/10), done.
remote: Total 24 (delta 14), reused 17 (delta 13), pack-reused 1
From https://github.com/python/cpython
* branch 3.13 -> FETCH_HEAD
Note: switching to 'd26ce50f7bd59aa0bf6d1659ff96fb3a9075ff38'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at d26ce50f7b [3.13] gh-120671: Fix PY_CHECK_CC_WARNING() in configure.ac (GH-120822) (#120985)
Switched to and reset branch '3.13'
configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)
configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly.
configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)
configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly.
../../Modules/_sqlite/connection.c:1307:14: warning: 'sqlite3_create_window_function' is only available on iOS 13.0 or newer [-Wunguarded-availability-new]
rc = sqlite3_create_window_function(self->db, name, num_params, flags,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk/usr/include/sqlite3.h:5533:16: note: 'sqlite3_create_window_function' has been marked as being introduced in iOS 13.0 here, but the deployment target is iOS 12.0.0
SQLITE_API int sqlite3_create_window_function(
^
../../Modules/_sqlite/connection.c:1307:14: note: enclose 'sqlite3_create_window_function' in a __builtin_available check to silence this warning
rc = sqlite3_create_window_function(self->db, name, num_params, flags,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Modules/_sqlite/connection.c:1315:14: warning: 'sqlite3_create_window_function' is only available on iOS 13.0 or newer [-Wunguarded-availability-new]
rc = sqlite3_create_window_function(self->db, name, num_params, flags,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk/usr/include/sqlite3.h:5533:16: note: 'sqlite3_create_window_function' has been marked as being introduced in iOS 13.0 here, but the deployment target is iOS 12.0.0
SQLITE_API int sqlite3_create_window_function(
^
../../Modules/_sqlite/connection.c:1315:14: note: enclose 'sqlite3_create_window_function' in a __builtin_available check to silence this warning
rc = sqlite3_create_window_function(self->db, name, num_params, flags,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:C6AEA11C-C34A-47B8-BD67-AF0403ECA353, OS:17.5, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:C6AEA11C-C34A-47B8-BD67-AF0403ECA353, OS:17.5, name:iPhone SE (3rd generation) }
2024-06-25 08:56:41.675 xcodebuild[12254:91615356] [MT] IDETestOperationsObserverDebug: 1218.814 elapsed -- Testing started completed.
2024-06-25 08:56:41.676 xcodebuild[12254:91615356] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2024-06-25 08:56:41.676 xcodebuild[12254:91615356] [MT] IDETestOperationsObserverDebug: 1218.814 sec, +1218.814 sec -- end
Failing tests:
-[iOSTestbedTests testPython]
** TEST FAILED **
make: *** [testios] Error 1
Test report
===========
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - test (failure) clean (failure) (main)
by buildbot@python.org 24 Jun '24
by buildbot@python.org 24 Jun '24
24 Jun '24
The Buildbot has detected a new failure on builder AMD64 FreeBSD15 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1238/builds/2659
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: opsec-fbsd15
Build Reason: <unknown>
Blamelist: Alek Kowalczyk <alek.kowalczyk(a)gmail.com>, Barney Gale <barney.gale(a)gmail.com>, Brandt Bucher <brandtbucher(a)microsoft.com>, Christian Clauss <cclauss(a)me.com>, Hugo van Kemenade <1324225+hugovk(a)users.noreply.github.com>, Irit Katriel <1055913+iritkatriel(a)users.noreply.github.com>, Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>, Petr Viktorin <encukou(a)gmail.com>, Serhiy Storchaka <storchaka(a)gmail.com>, Victor Stinner <vstinner(a)python.org>
BUILD FAILED: test (failure) clean (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<frozen getpath>", line 466, in <module>
ValueError: embedded null byte
Warning -- Uncaught thread exception: InterpreterError
Exception in thread Thread-185 (task):
RuntimeError: error evaluating path
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.opsec-fbsd15/build/Lib/threading.py", line 1039, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/home/buildbot/buildarea/3.x.opsec-fbsd15/build/Lib/threading.py", line 990, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.opsec-fbsd15/build/Lib/test/test_interpreters/test_stress.py", line 29, in task
interp = interpreters.create()
File "/home/buildbot/buildarea/3.x.opsec-fbsd15/build/Lib/test/support/interpreters/__init__.py", line 76, in create
id = _interpreters.create(reqrefs=True)
interpreters.InterpreterError: interpreter creation failed
k
Test report
===========
Failed tests:
- test_interpreters
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - failed test (failure) (main)
by buildbot@python.org 24 Jun '24
by buildbot@python.org 24 Jun '24
24 Jun '24
The Buildbot has detected a new failure on builder AMD64 Windows11 Bigmem 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1079/builds/4289
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: ambv-bb-win11
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 508, in link
self.spawn([self.linker] + ld_args)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn
return super().spawn(cmd, env=env)
~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1041, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn
raise DistutilsExecError(
"command {!r} failed with exit code {}".format(cmd, exitcode)
)
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 508, in link
self.spawn([self.linker] + ld_args)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn
return super().spawn(cmd, env=env)
~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1041, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn
raise DistutilsExecError(
"command {!r} failed with exit code {}".format(cmd, exitcode)
)
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_15284�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\testutil.py", line 107, in generate_parser_c_extension
compile_c_extension(
~~~~~~~~~~~~~~~~~~~^
str(source),
^^^^^^^^^^^^
...<3 lines>...
library_dir=library_dir,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "R:\buildarea\3.x.ambv-bb-win11.bigmem\build\build\test_python_12248�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 Fedora Stable Clang 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/441/builds/6190
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-x86_64
Build Reason: <unknown>
Blamelist: Alek Kowalczyk <alek.kowalczyk(a)gmail.com>, Irit Katriel <1055913+iritkatriel(a)users.noreply.github.com>, Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>, Serhiy Storchaka <storchaka(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpi0ukgybh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpbq8kpgfm/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpo9n8t2ak/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpw51xeh1g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpqyqu730q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpw51xeh1g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpxmrz8oop/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmplr88vtrq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpow8o1n8h/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpsnfdfvfe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpj4a7moeo/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpqyqu730q/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpm04on_v9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmptenhorkj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp40g6sr96\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpc6umzn2x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpp7drtuq2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmph47vhmwo/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp1as4ksao/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp1buyj9ci\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmped8yu33b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpkd_hbr57/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp7o90oxnq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpayi8e6tp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpi0ukgybh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpo81vkzu1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp516w_mep\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpdiozmnao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpdiozmnao/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpok42kkvs/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpkd_hbr57\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpm04on_v9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmprd1bsj_g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp04q5zgqh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp_7ncsttp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp_opgjjjx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmplr88vtrq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpok42kkvs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpp7n4xta0/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpi3cqyxal\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp516w_mep/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpf1qpl882\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp_opgjjjx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp1as4ksao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp5letewr3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpf1qpl882/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp_n8hmme7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp2psbjxf1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpp7n4xta0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpo9n8t2ak\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpqksqaphu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmp2psbjxf1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmptafj3x_3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpbq8kpgfm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpssyd__i5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmptenhorkj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp40g6sr96/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp5letewr3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpj4a7moeo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpqksqaphu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpayi8e6tp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp7o90oxnq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpow8o1n8h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpbttw3lkl/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpl0nr8rut\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpn7gs7vjq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpo81vkzu1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpssyd__i5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpr6ajic8p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpi3cqyxal/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpn7gs7vjq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmptafj3x_3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmped8yu33b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmph47vhmwo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp04q5zgqh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpsnfdfvfe/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmpxmrz8oop\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp_7ncsttp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpc6umzn2x/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmpr6ajic8p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp_n8hmme7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmp6ybync57/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpp7drtuq2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370æ/tmp6ybync57\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1432370��/tmpl0nr8rut/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmprd1bsj_g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911æ/tmpbttw3lkl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expec
ted_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/build/test_python_1438911��/tmp1buyj9ci/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 Fedora Stable 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/543/builds/6180
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpiy043r4_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpporj7u32/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpdcsw2alc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp24z0mq4o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpraympv4c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp6xrk42nx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpp3m6vrio/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpnbhe3fn7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpq_zem5py\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmprw7oba11\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp3mkp89ox\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp8dkkj667\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpkcikorfx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp24z0mq4o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpz06t7rwr/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpht4zrvwr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmprw7oba11/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmprv5s71ux\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpozn1a7yt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpbm5x_c6z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpev8ae5jb/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpjay9ub3i/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpsea40p7p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpdcsw2alc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp8h27n46w/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpqhqvc2us/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpj8o6sjv5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpl_a7q62c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpiy043r4_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpqhqvc2us\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpcop3smzw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp8pwz0u_p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp8pwz0u_p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmprtx9ny8b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp7zvv8k6k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpozn1a7yt/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmppy1pbe3p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpbm5x_c6z/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpnbhe3fn7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpp_53u1yc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpf0yeb9do/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmppy1pbe3p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp2zgnqt1q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpi_raue38/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmprv5s71ux/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp8dkkj667/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp27egyiie\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp8h27n46w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpg54_2myb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpzwovl4ui\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpg54_2myb/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp3mkp89ox/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpe3y3hxo7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpraympv4c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp2zgnqt1q/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp10ewthcx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpsea40p7p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpyvk_hwgx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpyvk_hwgx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpp3m6vrio\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp6xrk42nx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpfvb5c9p8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpe3y3hxo7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpfvb5c9p8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpj8o6sjv5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp7zvv8k6k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpi_raue38\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpzwovl4ui/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmp10ewthcx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpjay9ub3i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpporj7u32\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpkcikorfx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmp27egyiie/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpv14gkqop\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpq_zem5py/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmp8fjncjv_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmptlsj2g_s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmprtx9ny8b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmp8fjncjv_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmptlsj2g_s/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpp_53u1yc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354æ/tmpf0yeb9do\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1394354��/tmpht4zrvwr/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpcop3smzw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpz06t7rwr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpev8ae5jb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382��/tmpv14gkqop/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_1403382æ/tmpl_a7q62c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL8 LTO 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/64/builds/7130
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmps7zv6nll\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp_dbpyphi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpgck7lssg/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp1u4us2jq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpbnbdncqu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp7k_yf8ng\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp04sng0ej\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpf9bp6s8m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmphwl6a9lt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpbdg7bet0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpchzxtrur\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpcrnll265/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpiij6tgoq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpbnbdncqu/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpxcl_4f19/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpblx96khz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpv06eu0cr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmph8bu2ohb/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpf9bp6s8m/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp3hnqqnbz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpsk4u7rsr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmphosb8dah/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpia7e8zhr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp_goije78/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpv22d51fc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmps7zv6nll/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp4j87uc3r/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpwmvza2a7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpv06eu0cr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpxcl_4f19\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmphosb8dah\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpnb0qi98q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpbrec883b/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpiij6tgoq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp2kbfpw34/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp9pbnpyls\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpuaq8nzwf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp_goije78\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmptesbf1p1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp5zq7d8l2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpuhjq_z1d/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmphwl6a9lt/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp62x8b45o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpqe6o1r0c/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp7k_yf8ng/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpbrec883b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmptesbf1p1/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp5zq7d8l2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp4j87uc3r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpbdg7bet0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpxisyxl0b/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp2tf2va9q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp4vlkh8ie/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpnbl6f12m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp2tf2va9q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpblx96khz/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpwmvza2a7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpia7e8zhr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpquxu7puj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp4vlkh8ie\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp9pbnpyls/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpxisyxl0b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpchzxtrur/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpuaq8nzwf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp3jlponmk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp6hlj4ck7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpv22d51fc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp6vb6em8e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpquxu7puj/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp1u4us2jq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp3jlponmk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp04sng0ej/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmpsk4u7rsr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpnb0qi98q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp7_7jzm98/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmph8bu2ohb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp3hnqqnbz/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp6hlj4ck7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmp2kbfpw34\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmpgck7lssg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmpnbl6f12m/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101��/tmp_dbpyphi/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpuhjq_z1d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp6vb6em8e/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271��/tmp62x8b45o/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpqe6o1r0c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2068101æ/tmp7_7jzm98\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto/build/build/test_python_2081271æ/tmpcrnll265\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(
stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 CentOS9 LTO 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/831/builds/5348
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-CentOS9-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpdtyd9au4/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpjzjbz62q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpi8rdk6ao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpwj01tasp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp140hlp3h/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpq3yzf8zq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpjzjbz62q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpzutnd8so/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp2636_pe9/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp14hdpkyh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpkf29oaqc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp140hlp3h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp2636_pe9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpi4dhn3yj/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmph8xhozol\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpwyuyafd9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp7gkpixvh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp07qkw6gh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp4tqq97yw/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpqkiu5ita/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpo8xwnff0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpwj01tasp/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpwyuyafd9/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp1lamw3kb/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpy_vkbwaz/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpi7y3w5w2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp9uhy4un0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp1m5m23tl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpz_f2o6ka\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpd3lur5qc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpyq2yg4vf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp_u33b1ad\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpszwbwday\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpdtyd9au4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpgl9wb8_b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpzutnd8so\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpn5_z2tze/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp9mmx2an2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp8o6wuhex\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpfwy96_w0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpgl9wb8_b/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpo8xwnff0/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpwi5o7tby/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmph8xhozol/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpi8rdk6ao/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp8o6wuhex/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpu53owu7s/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpd3lur5qc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp_u33b1ad/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpn5_z2tze\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpq3yzf8zq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp__iuvyku\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp9uhy4un0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp03bbq3kg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp7gkpixvh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmp1lamw3kb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpi4dhn3yj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpfwy96_w0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpszwbwday/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpy4w2huqu/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpovea63vw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpl4rv7mmq/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpz_f2o6ka/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp2wib687t/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp1m5m23tl/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpqkiu5ita\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmpy4yeh9w2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpu53owu7s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpnftjppc_/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpy_vkbwaz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpl4rv7mmq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpnftjppc_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpwi5o7tby\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpy4w2huqu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpyq2yg4vf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmpy4yeh9w2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpumwod_4x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp14hdpkyh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpumwod_4x/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp07qkw6gh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp2wib687t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmpovea63vw/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpi7y3w5w2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp9mmx2an2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929æ/tmpkf29oaqc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153æ/tmp4tqq97yw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.par
se(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_697153��/tmp__iuvyku/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64.lto/build/build/test_python_720929��/tmp03bbq3kg/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL8 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/185/builds/7123
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpxdn24djw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp90r1uvv1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpytdc4wh1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpxdn24djw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpm9od099o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpmpohyncf/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpq8ai684z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp1ctinyji/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmphoz7b4s6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpj1ll3s41/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmps03jmg87\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpz4qyebmu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpnj3tsnhc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpa4ppdp9c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpyydci6hi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpdx45weoq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp7mzrgp_6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpb28wtme7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpxr_6_eq9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpwia3wpui\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp411ni48c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmphoz7b4s6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp_nnw9nwz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpi0lccqsj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpi0lccqsj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp5mn6ljem\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp90r1uvv1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpambre5k6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpw3wi08_u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpr2cj9464\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpmpohyncf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpixxwnfcd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpcqtm7vv6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp6cxfn0ft\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpj1ll3s41\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmps03jmg87/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpv3l0a0zf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp5fyqad_a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpm9jys9wk/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpb28wtme7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpq8ai684z/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpfnnade72\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpvvmt6kck\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpxr_6_eq9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpw3wi08_u/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp411ni48c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpmy9ahky3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpbgi87v4f/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp455b0095/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp5mn6ljem/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpr2cj9464/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmptb900_c9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpecnc0cx2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmp7mzrgp_6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpm9jys9wk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpv3l0a0zf/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp1ctinyji\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpi5wrojtv/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpi5wrojtv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpfnnade72/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp5fyqad_a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpgu59o7aa/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpcqtm7vv6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpseo1gifz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp6cxfn0ft/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpz4qyebmu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpgu59o7aa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmp8i6aoiqx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpm9od099o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpytdc4wh1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmp455b0095\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpecnc0cx2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpdx45weoq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpwia3wpui/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp8i6aoiqx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpseo1gifz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpnj3tsnhc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpyydci6hi/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719æ/tmpl2myxuxy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_2003719��/tmpl2myxuxy/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpvvmt6kck/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpambre5k6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpbgi87v4f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpmy9ahky3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmp_nnw9nwz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmpixxwnfcd/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690��/tmptb900_c9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/build_oot/build/test_python_1991690æ/tmpa4ppdp9c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast
= ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder s390x RHEL7 LTO 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/402/builds/7483
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-rhel-z
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpc43kjqy4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp90v2259y/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp3i4i7bcl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp3qtr9cy7/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp3i4i7bcl/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpo77likwf/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmph7f7lgei\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpf37rv0fp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp6d_0eush\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpjn36wjj1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp3qk031rp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpvyq8_bpk/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpp2io08s_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpux9a_ehk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmph489z4su\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpwf17wmw3/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp_7z6rr4k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpa12zm2zi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmppj682hgu/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpp2io08s_/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpt9vodcz2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp3x7ioxla\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpa12zm2zi/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp4t02byi_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpf37rv0fp/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp_hh6s4qw/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpvzr7cf2k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpf280frj4/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpn2t9tqvb/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmportvonhd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpjn36wjj1/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpvzr7cf2k/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpdjuk5how\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp3qk031rp/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpdjuk5how/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpee75qzdc/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp77atz64t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpl0o7k7v2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpez_40bcl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpux9a_ehk/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpqlaadzfa/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpee75qzdc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmph489z4su/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp8l85z39t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpf280frj4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpwf17wmw3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp6d_0eush/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp90v2259y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp77u17js2/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpeotmptpp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp3x7ioxla/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpo77likwf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpspft23ik/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpeotmptpp/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpu4xxhgut/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp596w8wej/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp596w8wej\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpu4xxhgut\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp8l85z39t/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp4t02byi_/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpc43kjqy4/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp77u17js2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpg_5a295p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpvyq8_bpk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpn2t9tqvb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp9tiqzois/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmppj682hgu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp7ezphwfm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp_7z6rr4k/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmportvonhd/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpg1ywycoj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmph7f7lgei/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpg1ywycoj/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmps_wi51vj/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp3qtr9cy7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpqlaadzfa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpez_40bcl/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpl0o7k7v2/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmp9tiqzois\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039æ/tmpspft23ik\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmps_wi51vj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpt9vodcz2/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmp7ezphwfm/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmp_hh6s4qw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705æ/tmpdcbl8tea\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_54705��/tmpdcbl8tea/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmpg_5a295p/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_20039��/tmp77atz64t/parse.cpython-314-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL7 LTO 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/507/builds/7724
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL7-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpvcewmldk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpnyjsfunx/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpbna73e3r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpv0wrpje5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpl5irkyre\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpm70e5ul1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp4hmz55dy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpblbgmjk4/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpoaqm2n9w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp32yysmu6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmprn1c89xh/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp5vb6sbbf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp32yysmu6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpsqmbu22s/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpsbrtbgoc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpcd4idh6a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmprn1c89xh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpvh8tcjsd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpv205w2sr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpku6ivc0z/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpv0wrpje5/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpcffzz4oi/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmprb6rtvam/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpen7nmxhf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp4hmz55dy/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpa9xk9tzm/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp901a35ko\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpha_4cjzx/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpcffzz4oi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmprb6rtvam\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpm70e5ul1/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpvcewmldk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpsqmbu22s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpn0c73cm7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpa9xk9tzm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp5_66hj33\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpn0c73cm7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpblbgmjk4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpr2gcfphk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpen7nmxhf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp5vb6sbbf/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp_iufzsvk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmphb1bff7t/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpazxo_g86/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpo4lqahse/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp_iufzsvk/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpr2gcfphk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmphb1bff7t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmprl0f09d6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpbna73e3r/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp4yn8ivgt/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpl5irkyre/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpp5u0agm8/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp901a35ko/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpaalvegd7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmppoa7ous2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpwqpbj7v9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpgiis3eos\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpaalvegd7/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpef493xgd/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp10bqggl6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmprl0f09d6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpef493xgd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpvh8tcjsd/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpv205w2sr/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmppoa7ous2/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpazxo_g86\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmp43lqi67m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpv5cxdt2q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpwqpbj7v9/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp67mhok_v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp6sk9_4r6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp6sk9_4r6/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpo4lqahse\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp5_66hj33/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp4yn8ivgt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpsbrtbgoc/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpgiis3eos/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmp67mhok_v/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpv5cxdt2q/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627��/tmpcd4idh6a/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpp5u0agm8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmpoaqm2n9w/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmpha_4cjzx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpnyjsfunx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068æ/tmpku6ivc0z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_22627æ/tmp10bqggl6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(st
mt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/test_python_19068��/tmp43lqi67m/parse.cpython-314-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder aarch64 RHEL8 LTO 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/338/builds/7042
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-aarch64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp5kexmw6v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpw8t44797/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp7mttcpr3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmppokk3aqr/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpw8t44797\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpw9zibfhd/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpwxnom9sy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpsi5422ss\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpyekb5x2d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp522h4d7l/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpdi9lo353\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpjef0c6b9/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpcforom_y/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpcxqrgzfo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpyk2wwidq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpaoqnf_4_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpnhdf2fir/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpyd4ft_f1/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpcxqrgzfo/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpwhsjgk0y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpyd4ft_f1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp4887ss_f/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpx3cqec0q/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpaoqnf_4_/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmp_v51qkco/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp1fgt_4ke/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmp_5fyqm_i/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmp5wsip4x2/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpwxnom9sy/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp7mttcpr3/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmphp4ckghw/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpk26whhox/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpyk2wwidq/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp36t4cvq1/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmp_5fyqm_i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmplnsculry/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp4887ss_f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpxlpk26z4/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpkaxn0c10/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpplp1bl64/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmphr5due73/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpjef0c6b9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpii2qsom4/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpvp7alr3z/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpplp1bl64\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpyekb5x2d/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpcforom_y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp1fgt_4ke\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp522h4d7l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpx3cqec0q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpk26whhox\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpc32lvjrv/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpc32lvjrv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpkaxn0c10\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp36t4cvq1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmp5wsip4x2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmp_v24vxp2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpbr5wol_w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpaqkn3j80\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmptxn0sbso\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpydgdunqn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpw1t_adi9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmp_rt7mdfj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmphr5due73\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmp5zsr0ihr/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpw1t_adi9/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmphp4ckghw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp5kexmw6v/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpgx28ik44/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpaqkn3j80/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmp_v51qkco\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpw9zibfhd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpgx28ik44\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmptxn0sbso/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmppokk3aqr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpdi9lo353/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpii2qsom4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpbr5wol_w/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpwhsjgk0y/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmpydgdunqn/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpxlpk26z4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmpnhdf2fir\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmpsi5422ss/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143��/tmp_rt7mdfj/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmplnsculry\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2104143æ/tmpvp7alr3z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445æ/tmp5zsr0ihr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.pars
e(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64.lto/build/build/test_python_2121445��/tmp_v24vxp2/parse.cpython-314-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 Ubuntu Shared 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/506/builds/8212
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: bolen-ubuntu
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp5yvenuyc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpe9xkvikj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpil4js6et\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpx7t5mdnz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpl2v2obc4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmphr4wuhl_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpu_9l5znu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpgeiom_ms\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpierbexfc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpxsukevjm/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp9iq700ov/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmplbj2i0p5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpefupgu4k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp9tshatla\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp554ibeu4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpeaqx8ml0/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpierbexfc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpx7t5mdnz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpvx3eku63/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpvz5_ey57\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpfz9kln22/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmp_2gj92_c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpp86oqymd/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp8c45j1ig/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpviwcymxe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpy8r5d2gy/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp3jpsfn7q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmp9crvu_bt/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpel5wx17i/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpbgxt620d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmp38a99u7_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpbgxt620d/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmp9crvu_bt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp5yvenuyc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpefupgu4k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp3jpsfn7q/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpo3k64308\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpu_9l5znu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpie2cij7m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpvz5_ey57/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpel5wx17i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmp_2gj92_c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpie2cij7m/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmphr4wuhl_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpyuxk2pgp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp8c45j1ig\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpvx3eku63\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmps7ctv2jl/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmplbj2i0p5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp9iq700ov\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpeaqx8ml0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp9tshatla/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpil4js6et/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpxsukevjm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpr0nv8zjz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpghwrr48h/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpfekf97jr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpviwcymxe/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpfz9kln22\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpy8r5d2gy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpr0nv8zjz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp2r6sp5tn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmplfvzyhs4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpyuxk2pgp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpelq0aj1o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpghwrr48h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpgeiom_ms/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpe9xkvikj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmps7ctv2jl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmprnas96ty\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmp1ra3kuoo/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmpl2v2obc4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpp86oqymd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmp_eyj35e_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmplfvzyhs4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmp554ibeu4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpo3k64308/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpj4xniy0_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmprnas96ty/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmpies_3vhl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpfekf97jr/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmp1ra3kuoo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmp_eyj35e_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021æ/tmp2r6sp5tn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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 "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804æ/tmp38a99u7_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast =
parse.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: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3662804��/tmpelq0aj1o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpies_3vhl/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/build/test_python_3698021��/tmpj4xniy0_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder s390x RHEL7 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/179/builds/7649
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-rhel-z
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpz9odmh4u/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpq1tiqpmb/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpulqcimuz/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpluzrs5fv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpzxg13cpc/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpwtntk7xw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpf6zr41kn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpk8vk0dpl/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpe09ok3n2/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpq1tiqpmb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp0iwtil7o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmp525iob3a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp7nubmjms\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpofczy38d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpn56e6vz7/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpea7gjeek/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmprjl0u0sv/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpaf_6r4zk/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmprehrjyee/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmp0_00x5vh/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpaf_6r4zk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpofczy38d/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpk8vk0dpl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp23zb4ddb/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpf6zr41kn/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpxqx2auza/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp3es3t8sq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpfd1p86s9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmp525iob3a/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmp0_00x5vh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpz9odmh4u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpqvjlujor\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp0iwtil7o/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmplgq2fvgt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmprehrjyee\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmppnde4xi7/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpmgn05za6/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpea7gjeek\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp23zb4ddb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmp72kqehme\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp30qclb8h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmppnde4xi7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpzrfr15jw/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmp3otvyvxh/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpn56e6vz7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpme_xuaxu/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpdl80k26g/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpqcooyyhn/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpm_basyxe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmp3otvyvxh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpopz98l8w/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpmgn05za6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp5qcqpjms\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp30qclb8h/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmps7e6rqr2/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpzxg13cpc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmp7c6p87up\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpxqx2auza\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpcgadmvlv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpcgadmvlv/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpluzrs5fv/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpulqcimuz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp5qcqpjms/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmprjl0u0sv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpy90axtnj/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpfd1p86s9/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpopz98l8w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmp7h94x68s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpy90axtnj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmp9f31r5pq/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpe09ok3n2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmps7e6rqr2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp7h94x68s/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpdl80k26g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpm_basyxe/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmp9f31r5pq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmp7c6p87up/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpme_xuaxu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpqvjlujor/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228æ/tmpqcooyyhn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpzrfr15jw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp3es3t8sq/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmpoed6tv8x/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmplgq2fvgt/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653��/tmp7nubmjms/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_58653æ/tmpoed6tv8x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmpwtntk7xw/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/build/test_python_32228��/tmp72kqehme/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 RHEL7 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/15/builds/8027
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL7-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpxjr0uyq5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmphe6kmouw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmphki16w6t/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpwngq68x6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp2ji6wycn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmp3u4ywky8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp7ypz3udc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpl93__o_6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmporh6ihj9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp3ummdunu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpy99cyuvm/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp7t21hpe1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmphe6kmouw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpwngq68x6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmporh6ihj9/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp6l51qx_y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmp3u4ywky8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp2r52qsel/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp7kb3mh3w/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpyp8qinr6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmptmwhcdsw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpqsnd9b3d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp58p3ar4p/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpx_tdac_4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpisq3gvqj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpyp8qinr6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp_3ne3gpk/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp7kb3mh3w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp7ypz3udc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp3p5pfhza/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpjsgra_ci\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpb_n_bdp5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpnc7zhasv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpb74mjyk2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmp27nzj8cx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpowhay_v0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmptrjy09w2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpl93__o_6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpx_tdac_4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpt6991qrz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpowhay_v0/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpisq3gvqj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmp3dnqmbhu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpt6991qrz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmp27nzj8cx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmp0rc0dxi3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp3ummdunu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpg5im9fha/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmp0rc0dxi3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmps2_j9q0k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpyabnmtc8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmph24t_zyk/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp069m9rjv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmptmwhcdsw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmphz535k4a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmph24t_zyk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpyabnmtc8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpb74mjyk2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmp8dqr4vhi/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp58p3ar4p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp2r52qsel\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp_3ne3gpk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmptrjy09w2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpnc7zhasv/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpxjr0uyq5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmp8dqr4vhi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpmk1fw36o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmp9nu4x6wi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp7t21hpe1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpmk1fw36o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpg5im9fha\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpb_n_bdp5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpcc9vsw1b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp6l51qx_y/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpy99cyuvm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmps2_j9q0k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpjsgra_ci/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmpqsnd9b3d/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmpgn4sank_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmphki16w6t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmphz535k4a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176��/tmp9nu4x6wi/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmpgn4sank_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmpcc9vsw1b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp069m9rjv/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_1176æ/tmp3dnqmbhu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = a
st.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081æ/tmp3p5pfhza\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast =
ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/build_oot/build/test_python_13081��/tmp2ji6wycn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 CentOS9 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/838/builds/5672
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-CentOS9-x86_64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpxs9tdjtc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpi6k_lapu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmptq35_5pe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpqy8mtdvk/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpq7o45akh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp5527s6eh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpv0pd6g29\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpgb3atmis\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp196jj29a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpxkisdznw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpif8f5bwb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpxdmpii_1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpphf00elc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpkvy4rn0i/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpo_jms3kp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpxdmpii_1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpkvy4rn0i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpgb3atmis/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpepw938fg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpwp3uqspf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpqrb51p30/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpq7o45akh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp0tm4p4e4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpnw81wl6d/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpbzujsgo0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpzms0p2y8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpo_jms3kp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpv5w8ap2o/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpxs9tdjtc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp1ivqw9cn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmp6yrrprqs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpc_c_76pp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp0tm4p4e4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmp365tfa1r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmp365tfa1r/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpnw81wl6d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmp73y91d7x/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpsc5yeu70/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmp5uke9c3_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpepw938fg/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpy19r9_4w/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpyv8drser/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp5527s6eh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmp5uke9c3_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmp73y91d7x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpsu1rnp4c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpphf00elc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp7g6zdt68\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpioaobe2n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp196jj29a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpwc9ces8j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpif8f5bwb/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmptq35_5pe/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmp1snpw5w5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpsu1rnp4c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp8040gtwn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp5gsixqca\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpi0_sx_1a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpsc5yeu70\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp1ivqw9cn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpy19r9_4w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpi0_sx_1a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpzmxn2b8g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpow3a8h6z/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpwp3uqspf/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpan27oqd2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpc_c_76pp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmp6cqai4ez\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpqy8mtdvk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmp6cqai4ez/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpyv8drser\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpow3a8h6z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmp1snpw5w5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpzms0p2y8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpwc9ces8j/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmpqrb51p30\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpv0pd6g29/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpan27oqd2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpv5w8ap2o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp5gsixqca/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299æ/tmp8040gtwn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpbzujsgo0/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpioaobe2n/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260æ/tmpzmxn2b8g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_a
st = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmpxkisdznw/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmp7g6zdt68/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_630299��/tmpi6k_lapu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_645260��/tmp6yrrprqs/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder aarch64 RHEL8 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/529/builds/6831
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-aarch64
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmptqv25ciq/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp0g0o4q7_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpes7z2qvj/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmp51qqvlzm/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpaf0c68iz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpmhjxg2d5/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpk8sthh2s/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpmhjxg2d5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpijfox6i_/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpg2u_6hdk/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp2kfpwoix\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpawylghkf/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpkiefofh9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpqw5vdjzm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpmuuv0gmk/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmptyso1a8n/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpae1ncew4/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpxve8wclk/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpq7kel3qn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpkmk98yvi/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpae1ncew4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp0963m347/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpxve8wclk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmp9udahp4w/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmp0kg1i57j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpu3g2g6nc/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpao080omu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpkmk98yvi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmprfcxfx9l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpk8sthh2s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmprg6_x_dt/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmp2jy8jam0/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpd_ngiou3/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpd_ngiou3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp73k4ed_3/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmposnl0npq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp_ios_le0/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp2kfpwoix/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpg2u_6hdk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpmuuv0gmk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpydrec3ka/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpv4lshjpt/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpaw7h0kbv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmposnl0npq/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmp87dfqsd7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmp2jy8jam0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp73k4ed_3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpu3g2g6nc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpvtr54lhe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpjb1gj9jm/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpvtr54lhe/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpkiefofh9/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpawylghkf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmp5x5evrmu/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpnm71rxy4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmptyso1a8n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp0963m347\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmp5x5evrmu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp3zssahvw/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmppto9az3e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpydrec3ka\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpuixw2dgx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmp0kg1i57j/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmprg6_x_dt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp_ios_le0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpao080omu/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpaw7h0kbv/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpq7kel3qn/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmp9udahp4w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpjb1gj9jm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmptqv25ciq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmprfcxfx9l/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp0g0o4q7_/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpnm71rxy4/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmp51qqvlzm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpqw5vdjzm/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmp87dfqsd7/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmppto9az3e/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmp_jlk6fn3/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012æ/tmpwy2ps1dc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp_jlk6fn3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmp3zssahvw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpijfox6i_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpwy2ps1dc/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpv4lshjpt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318æ/tmpes7z2qvj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_as
t = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2045012��/tmpaf0c68iz/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-aarch64/build/build_oot/build/test_python_2025318��/tmpuixw2dgx/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder PPC64LE Fedora Stable 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/90/builds/4829
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-ppc64le
Build Reason: <unknown>
Blamelist: Itamar Oren <itamarost(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpds3wo7le/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpg6l_8ssg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmphicd4fjf/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpgcbqlukv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmppkijto5r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp6798e9r1/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpxi69uooc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpexib5sbb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp2g8kelvo/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpxi69uooc/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp2p8o4jsa/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp5wpjlajz/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpn4ls392h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp_swxteci\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp1ink1e4h/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp3u6c6sgd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpg9zl9s4k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpq0zulgkl/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpn4ls392h/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpg42_8xu2/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp2g8kelvo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpe7p1hgsi/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp1ink1e4h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp61nrzolq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmphh1haka4/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpplutb96h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpva0zvu33\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpfi9_oddv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp7_srvt4u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp3_7cu09r/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpkv1bkhw4/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp3sojfn63\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpq91ypp_y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpm66io1ts\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpzw41sjpe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmppkijto5r/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpq7sagu53\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp8dd1cuky\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp2p8o4jsa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp8dd1cuky/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpds3wo7le\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpexib5sbb/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpisuz4jtq/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpu0scr09x/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp38b3io02\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpzw41sjpe/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpkinsxbv_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpu0scr09x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp7yv0k3u0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpg6l_8ssg/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp5wpjlajz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp74h12_jr/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpva0zvu33/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpgcbqlukv/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpe7p1hgsi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpm66io1ts/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp7yv0k3u0/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp3sojfn63/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp3u6c6sgd/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpfi9_oddv/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpebtyecwu/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpyl1aphy5/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmphicd4fjf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpg9zl9s4k/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpt42gzgu2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpq91ypp_y/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpplutb96h/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp61nrzolq/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp74h12_jr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpkv1bkhw4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpebtyecwu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpq7sagu53/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmp6798e9r1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmphh1haka4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpyl1aphy5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp38b3io02/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpplojj778/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmporhtcza0/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmpt42gzgu2/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmp7_srvt4u/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308��/tmpkinsxbv_/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462��/tmp_swxteci/parse.cpython-314d-powerpc64le-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmp3_7cu09r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpq0zulgkl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpplojj778\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_422308æ/tmpisuz4jtq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmpg42_8xu2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/build_oot/build/test_python_395462æ/tmporhtcza0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - failed test (failure) (main)
by buildbot@python.org 24 Jun '24
by buildbot@python.org 24 Jun '24
24 Jun '24
The Buildbot has detected a new failure on builder AMD64 RHEL8 FIPS Only Blake2 Builtin Hash 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/469/builds/8428
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-fips-x86_64
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpaxw3tn5s/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpsjgynd_w/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpg7vgkf80\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmphksn6pmp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpu3_0pbtl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpk_7badm6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpyajiqsis/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmphpfb3pff/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpytfun1st/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpq8794m3n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpyxh3h0al/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpsjgynd_w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpjho2az7k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpo4fd3_bj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpqfk69wsj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpc3g8264q/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmp6f0xol6c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpv27sf8c4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpz61szjx8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpqfk69wsj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmp5xq39_xm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpmd7qu7zz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpa89ni573\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpn9gcyb9i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpyajiqsis\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpd3_pnmb7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpg7vgkf80/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpr8bmvbst/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmppnhdprxv/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpzs5meai5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpzs5meai5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpgby4zh7j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpaxw3tn5s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpo4fd3_bj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpz61szjx8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpg59p_cwp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpgd34truq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmp0k7uee6b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmp6f0xol6c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmp0k7uee6b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpc3g8264q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpx245nus7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpebpj3721/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmp81nzwke5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpyz5d6p2b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpkxvwyl73/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmphpfb3pff\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmp81nzwke5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmp8dybfel_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpuw9gkclh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpznqp5_64\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpq8794m3n/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpuw9gkclh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpa89ni573/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpyxh3h0al\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpytfun1st\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpjho2az7k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpdtflpkku\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpk_7badm6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpdtflpkku/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpd3_pnmb7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpebpj3721\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpgby4zh7j/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpcia6khx1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpr8bmvbst\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmprtmz8jxy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpznqp5_64/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmp5vq7olcs/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpn9gcyb9i/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpcia6khx1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmprtmz8jxy/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmp80_0s2ym\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpyz5d6p2b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpu3_0pbtl/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmp8dybfel_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpg59p_cwp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpgd34truq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmpx245nus7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmp5vq7olcs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmp4ri15u5k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmppnhdprxv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmphksn6pmp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765æ/tmpkxvwyl73\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmp5xq39_xm/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmpv27sf8c4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126��/tmpmd7qu7zz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2245765��/tmp80_0s2ym/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2266126æ/tmp4ri15u5k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mo
de=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 Windows10 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/146/builds/8934
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: bolen-windows10
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 508, in link
self.spawn([self.linker] + ld_args)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn
return super().spawn(cmd, env=env)
~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1041, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn
raise DistutilsExecError(
"command {!r} failed with exit code {}".format(cmd, exitcode)
)
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 508, in link
self.spawn([self.linker] + ld_args)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn
return super().spawn(cmd, env=env)
~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1041, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_11860�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn
raise DistutilsExecError(
"command {!r} failed with exit code {}".format(cmd, exitcode)
)
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 134, in run_test
self.build_extension(grammar_source)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_c_parser.py", line 131, in build_extension
generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\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 "D:\buildarea\3.x.bolen-windows10\build\Tools\peg_generator\pegen\build.py", line 227, in compile_c_extension
compiler.link_shared_object(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
objects,
^^^^^^^^
...<5 lines>...
build_temp=cmd.build_temp,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
self.link(
~~~~~~~~~^
CCompiler.SHARED_OBJECT,
^^^^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
target_lang,
^^^^^^^^^^^^
)
^
File "D:\buildarea\3.x.bolen-windows10\build\build\test_python_3440�\tempcwd\venv\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 CentOS9 FIPS Only Blake2 Builtin Hash 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/828/builds/6871
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-CentOS9-fips-x86_64
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpn9isol7d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpje3ajqgn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpvz7me14b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp62td2pp3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpje3ajqgn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpqb7uf59e/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmp4z9fi7pr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpo64o6v0l/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmp_7795uok\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp_wtxwr5n/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmphszobr0b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpjd3ls9d7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpcsxne9dx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmple2ed_zi/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpde_vn52k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpeywv3i86/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpeywv3i86\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpo16m8aoc/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpgr706eb2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp9yqn4t6y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpcsxne9dx/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmp4yfbko1c/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpudwt2qb5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmp3joi23zi/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpd_0r63je\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmphszobr0b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpgr706eb2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmp9p0rpg1a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpk5mbmfc1/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpo37dm_tn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpv0kjp8oh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpsfv4aoto/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmp4yfbko1c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpe2gbs6ml/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmp3rauxnuu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpk5mbmfc1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmp_7795uok/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmprzpg6ai8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpkqwwja2g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpo16m8aoc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp62td2pp3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmprzpg6ai8/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp9yqn4t6y/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmp3rauxnuu/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp44glyv41/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpkqwwja2g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmp4z9fi7pr/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpuvzshp6v/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp8_xvh5su\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp4j5y79a2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpkkusgtlj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpe2gbs6ml\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpkkusgtlj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpvz7me14b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp7chdv5ns/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpdz795a79/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmp3joi23zi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmp9p0rpg1a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpo64o6v0l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp8_xvh5su/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmple2ed_zi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpqb7uf59e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp7chdv5ns\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpj4laarrj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp4j5y79a2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpbco44cv5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpudwt2qb5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpd_0r63je/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp1v5vi_6y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpde_vn52k/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpddyyufzp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpn9isol7d/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpqmjahw5t/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpdz795a79\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp44glyv41\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmp_wtxwr5n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpc0wy95k4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpuvzshp6v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmp1v5vi_6y/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpsfv4aoto\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165��/tmpbco44cv5/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpj4laarrj/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpqmjahw5t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpo37dm_tn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpc0wy95k4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199æ/tmpddyyufzp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2046199��/tmpjd3ls9d7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-CentOS9-fips-x86_64.no-builtin-hashes-except-blake2/build/build_oot/build/test_python_2057165æ/tmpv0kjp8oh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case
, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 Ubuntu 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/708/builds/6960
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: skumaran-ubuntu-x86_64
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp09380qg6/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpg6423cdq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpj6y3qmyt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpphdv55hg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpsuxk4p8s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp09380qg6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpy_lffeyh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp20s2_l99/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpii9l3gok/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpw1nitb7n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpx_w5py6l/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpr5ofm5q7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpm9mjwo7g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp0715cchg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpkc9nam40\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpm9mjwo7g/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpralg1teq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpry0s22c_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp6omk199h/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp1ffvvl5m/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpntmvyxgn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpr5ofm5q7/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp6cs87mxz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp0naeu57s/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpa0gc01pp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp6cs87mxz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp8xss49ho\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp0715cchg/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpphdv55hg/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpcfvxsobz/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmprfgykzd4/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpa0gc01pp/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpjy6hopfv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpcfvxsobz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmprhgfsspm/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp1ffvvl5m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpjy6hopfv/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpralg1teq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmppy55q0gs/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpy_lffeyh/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp5jzqu51a/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpcntnn6ar\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpj6y3qmyt/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpcji3i_ek\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpg6423cdq/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp6e5u5ipk/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp4jlp24cl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp22t_hm84\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmprhgfsspm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpdbc_m754\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp20s2_l99\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmplpdhf0sn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpgiacfc5t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpdbc_m754/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp421ch62y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmppagtnv9b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpgiacfc5t/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpj1kxywyf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp421ch62y/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp6e5u5ipk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmph2e9e74m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmpx_w5py6l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp5pzwzo3e/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpkc9nam40/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpw1nitb7n/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmp5qrp15d3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp8xss49ho/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmppagtnv9b/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmph2e9e74m/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmp5qrp15d3/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp5jzqu51a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmplpdhf0sn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp4jlp24cl/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpj1kxywyf/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp6omk199h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpcntnn6ar/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290æ/tmprfgykzd4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpry0s22c_/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp5pzwzo3e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmp22t_hm84/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpqq27xya2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpqq27xya2/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpcji3i_ek/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmpii9l3gok\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1648290��/tmpntmvyxgn/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmp0naeu57s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940æ/tmppy55q0gs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.skumaran-ubuntu-x86_64/build/build/test_python_1658940��/tmpsuxk4p8s/parse.cpython-314d-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder x86-64 MacOS Intel NoGIL 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1258/builds/2214
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-macos-intel-aws
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpa429b_85\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpzhfm_bb6/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpk9c3i1gb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpqev7vpak/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpmkbt0eaj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpfq0qc7yh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpfxbdcqhv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/_test_eintr.py", line 535, in test_flock
self._lock(fcntl.flock, "flock")
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/_test_eintr.py", line 517, in _lock
raise Exception("failed to sync child in %.1f sec" % dt)
Exception: failed to sync child in 300.3 sec
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpamig2uap/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmp2ohys7pv/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpbvczndax/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmphcmewqws/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp20ddh98b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpqev7vpak\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpzhfm_bb6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpbvczndax\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpzkpzr7yh/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpx1h2b4yy/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpjcdvf5z0/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpvxk0_snz/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpflv_snz4/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpzkpzr7yh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp2lnuf8v2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpflv_snz4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpipiq2tgm/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpamig2uap\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpfq0qc7yh/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpwejhaw48\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmplem25j9q/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpvvmtr7hs/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmp2ohys7pv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpipiq2tgm\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpwejhaw48/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp2lnuf8v2/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmp0kw9eq2b/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp9y6mppg1/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp4vgxh3el\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpvvmtr7hs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpiljp7px5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpfm0lm860/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp_rh6qf6d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpi5464tzk/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp_rh6qf6d/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpyh647n7z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmplem25j9q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpjcdvf5z0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpjii0_u32/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpp0m6c40t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpwc9wxpvs/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp7lu4rws3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpi5464tzk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpk9c3i1gb/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpkpo6clib\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpvxk0_snz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpkpo6clib/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmphcmewqws\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpjii0_u32\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpiljp7px5/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpp0m6c40t/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmp1_jptejw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp0s9lutrx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpghwtukik/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmprjrize6_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpyzmn08hi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpwc9wxpvs\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmp4hcoa00u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpx1h2b4yy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_eintr.py", line 17, in test_all
script_helper.run_test_script(script)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 316, in run_test_script
raise AssertionError(f"{name} failed")
AssertionError: script _test_eintr.py failed
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmp0kw9eq2b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp7lu4rws3/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp9y6mppg1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpleeeusiz/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmp1_jptejw/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpfk0sw6aw/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp4vgxh3el/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpfxbdcqhv/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpyzmn08hi/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpfm0lm860\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp0s9lutrx/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmpyh647n7z/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmprjrize6_/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpmkbt0eaj/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpleeeusiz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmpfk0sw6aw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp20ddh98b/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892æ/tmp38sbt4p4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmpa429b_85/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263��/tmp4hcoa00u/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_67263æ/tmpghwtukik\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.nogil/build/build/test_python_54892��/tmp38sbt4p4/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Test report
===========
Failed tests:
- test_peg_generator
- test_eintr
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_all - test.test_eintr.EINTRTests.test_all
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_flock - __main__.FNTLEINTRTest.test_flock
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder x86-64 MacOS Intel ASAN NoGIL 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1366/builds/1512
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-macos-intel-aws
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpp2uz9m0_/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp4x6s3n11/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpomr0vea9/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmppuaz8uyj/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp3urjrcgx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpr0jodvev/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpr0jodvev\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmppf8jx_t7/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp91dofh6b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp9zcwlx10/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpyqd0cwhp/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpxy9d3u46\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpndz1wln_/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp9zcwlx10\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpgnuqbm18\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp4x6s3n11\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpb250d376\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpmep599kr/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpxy9d3u46/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpjuvqld81\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmplb2rm4hv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpw2wg8jdy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmp70tdouyb/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpmuq_vzvn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpgnuqbm18/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpp2uz9m0_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp9phoznaz/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmppf8jx_t7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmppnw6cyn6/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmppk5qdkk_/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp1hi81e5t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpdbr1nuby/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpadfbfc12\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpomr0vea9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp5c6iwcqw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmppk5qdkk_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpb5zjfhou\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmppuaz8uyj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmp0tb3iamp/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmp4pqatl4o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmp70tdouyb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmps0v13c2o/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpndz1wln_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpyihcpkhy/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpyqd0cwhp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpgpx59e9s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmplb2rm4hv/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpyddiazuv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpb250d376/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpl3i93i1m/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpadfbfc12/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmptds144ly/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpzv5jf4f_/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpdwgp5e5q/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmptmr061ss/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpmuq_vzvn/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpp7e9f915\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmptds144ly\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp886_h4zl/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpgpx59e9s/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpyddiazuv/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpjuvqld81/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpw2wg8jdy/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpdbr1nuby\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmptmr061ss\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp91dofh6b/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmpp7e9f915/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpyihcpkhy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp9phoznaz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp3_jtu1m9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmppnw6cyn6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmp4760unkx/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp1hi81e5t/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmps0v13c2o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmp4760unkx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmp0tb3iamp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmp886_h4zl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp3urjrcgx/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpzv5jf4f_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpi2hh_kd9/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpmep599kr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmp4pqatl4o/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp3_jtu1m9/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpdwgp5e5q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017æ/tmpl3i93i1m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_19017��/tmp5c6iwcqw/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935æ/tmpi2hh_kd9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n d
ef verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/build/test_python_36935��/tmpb5zjfhou/parse.cpython-314t-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder aarch64 Fedora Stable Clang 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/234/builds/6181
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-aarch64
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpwuq83raq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpw7yxw7cf/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpt3iq7xjn/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpav55f6_2/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpxq6qg807\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpu8ony_xf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpxxyzu03i/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpl2a2uvas/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp9gg43t8b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpyx_78z24\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpzx_053f6/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpfk7qikv2/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp9gg43t8b/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpndocekzw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpmslhr_kw/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpvz45fhp8/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpvz45fhp8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpj4rd14ij\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmp90d7klwy/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp23dviifj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpugr37glc/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpp1p4l8l9/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpwvn3ndsq/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpt3iq7xjn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmp90d7klwy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmp5l3_e55q/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpsp8ozaj7/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpznleiawe/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmp7hra1ama\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp4a7b4zb5/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpj4rd14ij/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpop0fkhpi/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpyx_78z24/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpq5f1wv1i/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpq5f1wv1i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpd__95jhd/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpbefsxf7u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpu8ony_xf/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmp_wa_hu6f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpndocekzw/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpu5w0bnn8/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpfdpluy1e/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpwgyum16_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp328fyxwc/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpxq6qg807/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmp5l3_e55q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpmslhr_kw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpu5w0bnn8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp4a7b4zb5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpbefsxf7u/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp0o2_dz94\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpngssry0j/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpzx_053f6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp6vko6167/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmprxb7jjkk/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpwuq83raq/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpfk7qikv2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp6vko6167\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpeu9qbxgu/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpwe15zibp/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpsp8ozaj7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpugr37glc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmprxb7jjkk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpp1p4l8l9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpav55f6_2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpngssry0j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp_tnolexa\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp_tnolexa/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmpwgyum16_/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpd__95jhd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpw7yxw7cf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmp7hra1ama/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpeu9qbxgu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpxxyzu03i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp23dviifj/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpa_97203a/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpwe15zibp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpl2a2uvas\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpfdpluy1e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmp0o2_dz94/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810��/tmpbyyx4fbn/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700��/tmp_wa_hu6f/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpbyyx4fbn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpznleiawe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmp328fyxwc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpwvn3ndsq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2716810æ/tmpa_97203a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang/build/build/test_python_2685700æ/tmpop0fkhpi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder ARM64 macOS 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/725/builds/8321
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: pablogsal-macos-m1
Build Reason: <unknown>
Blamelist: Irit Katriel <1055913+iritkatriel(a)users.noreply.github.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpsybjgcga\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmp9thbhy1i/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpun83v8lw/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmp5mljhlkz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmp6ieovwti/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpnq1sor3m/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmprpyjgdbu/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpjxfd633o/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpqafqe5s9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmp524wh8ko\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpk5bpbf2l/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpfx30826t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpjvy2z252/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpitzqddnn/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpg2qzntdf/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpzw9qku8x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpdi892q0p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmp8ujqln13\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpyw68ln4f/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpxje6xh6a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpjvy2z252\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpraskvbgr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpydv8bfwc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmprpyjgdbu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpxje6xh6a/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmp6ifswi6o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpbkvyfibx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpdrxxr6t8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpwa61oeuq/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpxp3vht6e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpxp3vht6e/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpk5bpbf2l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpfhxiyiyf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpgkhphlrb/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpxrode66n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpwa61oeuq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpyw68ln4f\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpbkvyfibx/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpgkhphlrb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpydv8bfwc/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpraskvbgr/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpfx30826t/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpwhyytyip/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmp524wh8ko/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmppwj_eaxg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmprquhtcnv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmp5mljhlkz/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpp1div1nd/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmp6ieovwti\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmp0nrir2n_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmprquhtcnv/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpdlwtu253\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpjxfd633o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmp0nrir2n_/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpa78uryly\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpzw9qku8x/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpggexrpt6/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpyfv07vsx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmp9y834_kz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpa78uryly/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpqafqe5s9/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmp9thbhy1i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpwhyytyip\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpbmco57d0/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmplxu2n37e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmp8ujqln13/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpdrxxr6t8/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpitzqddnn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpfhxiyiyf/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmp89l_f8wh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmpxrode66n/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpun83v8lw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmplxu2n37e/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmp_r2e5uws/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpg2qzntdf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmp9y834_kz/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpyfv07vsx/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpbmco57d0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpggexrpt6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmpp1div1nd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmp89l_f8wh/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmp6ifswi6o/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpdi892q0p/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpdlwtu253/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021æ/tmpnq1sor3m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35021��/tmpsybjgcga/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640��/tmppwj_eaxg/parse.cpython-314d-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/build/test_python_35640æ/tmp_r2e5uws\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n exp
ected_ast = ast.parse(stmt)\n actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder s390x Debian 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/49/builds/9367
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-debian-z
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpfez4vvf6/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpxm199fx9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp2qq3lgrb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpyn_5gx74/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpmavuwcyg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpwwsdkl2o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpksq4rxud\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpmxtffo6w/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp7vokf3m2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpul_d0qnx/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpzcrzy5k_/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpatlu0mo3/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpko0baidh/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpmxtffo6w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmp_u1zpa87\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpyn_5gx74\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmp6b74baqk/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmptl7649zt/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpaycevda6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpm_j81zet/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpt9_9sqvv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmphd5m5wwg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp2qq3lgrb/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpwwsdkl2o/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp2t5bdarn/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp8rayj8po/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmp4u783u0g/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpaycevda6/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp7irtlpao\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpppyj6q43\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp9s1git7l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpaj86ed39\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp68_9e4ig/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmp6b74baqk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp2t5bdarn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpaj86ed39/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp2cv7hqdd/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpppyj6q43/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpk4ft0jnj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpo2yetzl8/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp4b268a72/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpz59_3leq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpmuowwvbr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpd2ty652b/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpm_j81zet\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp6ewuheqi/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp9s1git7l/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmptl7649zt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp8fe4lr2o/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp6ewuheqi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpz59_3leq/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp8entycui/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpkmjs169z/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpzcrzy5k_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpmavuwcyg/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmprh322il0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpo2yetzl8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpqpgmx1eh/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp68_9e4ig\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpatlu0mo3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp4b268a72\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp7irtlpao/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpk4ft0jnj/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpmuowwvbr/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp8rayj8po\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmp40rwbo6x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpt9_9sqvv/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpa8a6v8gt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpkmjs169z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmp7fyd71yx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp2cv7hqdd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmp7fyd71yx/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmp4u783u0g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmpxm199fx9/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpd2ty652b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpfez4vvf6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmphd5m5wwg/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp8fe4lr2o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmpqpgmx1eh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmp_u1zpa87/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566æ/tmp8entycui\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpul_d0qnx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmprh322il0/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpa8a6v8gt/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2461566��/tmp7vokf3m2/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmp40rwbo6x/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241��/tmpksq4rxud/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/build/test_python_2457241æ/tmpko0baidh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n
actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder s390x SLES 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/540/builds/9320
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: edelsohn-sles-z
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpuutblr7n/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpkcqd70u3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpptayoxyd/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmppuh6cp7q/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp2kxh3li9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpp88bzoho\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmp5bm_88wo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp5m6s0sdx/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpvw6cdtde/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpdw57_3ti\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpiig5b850/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpvw6cdtde\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp5_m7_ito\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpgopeb2ue/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp7t63ob_w/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmp4m_i75al\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpvchh44_m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp_j7k1oyq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmp4m_i75al/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpd6z1xewg/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpdhw2bi0e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp7t63ob_w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmp00di8unl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmptsdoafv_/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpdhw2bi0e/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpv16gpdvv/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpr0t83m3v/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpr0t83m3v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp5_m7_ito/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp4czsnez2/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmp_42sgciq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpjermg7ut/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmptn90txm6/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmp00di8unl/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmp5bm_88wo/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp2kxh3li9/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpgopeb2ue\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmph3xf_t4p\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmppuh6cp7q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmprl83s9gi/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmptsdoafv_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmppyi57sni/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpzm7ohg58\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmph3xf_t4p/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpzm7ohg58/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpitlt43kl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmp_cvd_3rq/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp1yndsm4x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpvchh44_m/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmptn90txm6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmppw8nm5p0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp5m6s0sdx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpitlt43kl/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmp_42sgciq/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp8_sdl_v2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmppfocjz1o/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpaauwloa1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpdw57_3ti/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpiig5b850\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp1yndsm4x/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp8_sdl_v2/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpk043io07\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpd6z1xewg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpp88bzoho/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpv16gpdvv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpidp2au8a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp4czsnez2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmp51v63fxl/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpg5o62t5u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpg5o62t5u/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpidp2au8a/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpuutblr7n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmprl83s9gi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpk043io07/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmptacr8b5h\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp_j7k1oyq/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmppyi57sni\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmppw8nm5p0/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmpjermg7ut\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmptacr8b5h/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560��/tmpaauwloa1/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmp2drzhzjl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmpkcqd70u3/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695æ/tmppfocjz1o\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_59695��/tmp2drzhzjl/parse.cpython-314d-s390x-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmp51v63fxl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmp_cvd_3rq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_28560æ/tmpptayoxyd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n a
ctual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder aarch64 Fedora Stable 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/125/builds/6157
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-fedora-stable-aarch64
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpui6ue2df\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp0fvzw5ij/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp1xoar_uo/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmph5iznh7v/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpxt83ak8r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpbi7v4ynp/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpg9tstmqt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp0wubznw9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpitnx94i3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpgdnsaj7t/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmplkhfa_gk/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmph5iznh7v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp5gr8u22s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmplkhfa_gk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpg9tstmqt/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp9ei15ctt/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp4wk0wk1r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp8b8lczpz/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpo0ug8fdv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpe2ljy1_q/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpo0l3n0vg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp6ketisss\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp1fc0e48l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpe2ljy1_q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpefcr1n_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 valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpwfro70qi/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpf8ceekzo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp_rnuzlf0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp0wubznw9/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpizfjqo62/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp_rnuzlf0/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpb2r5qly7/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpgdnsaj7t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp_usioyvy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpn7l3m8nk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp1uz7gxmx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpf8ceekzo/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpizfjqo62\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpn7l3m8nk/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpzwadmpd9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp1nu3hxgu/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp065necpb/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpo0ug8fdv/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp5gr8u22s/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp0fvzw5ij\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpa02l377m/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp4wk0wk1r/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp9ei15ctt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmprys5aoa8/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpzwadmpd9/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmptn1upj7v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp065necpb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpb2r5qly7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpd1g0b32d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp8b8lczpz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpui6ue2df/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmprys5aoa8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmprp2508qi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp1uz7gxmx/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp_6u95y8q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp6ketisss/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp_usioyvy/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp1nu3hxgu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpxt83ak8r/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp2fmvzdo6/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpxs1wbnjw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpitnx94i3/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpbi7v4ynp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpqglg_4ed/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpd1g0b32d/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpefcr1n_a/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp2fmvzdo6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmp4gcblbt_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpqglg_4ed\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpbr_kkcud/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmp_6u95y8q/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmpxs1wbnjw/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpgf7q0l29/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmpo0l3n0vg/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpgf7q0l29\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028��/tmptn1upj7v/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpa02l377m\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919æ/tmpbr_kkcud\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp4gcblbt_/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmprp2508qi/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2647919��/tmp1fc0e48l/parse.cpython-314d-aarch64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmp1xoar_uo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64/build/build_oot/build/test_python_2677028æ/tmpwfro70qi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n
expected_ast = ast.parse(stmt)\n actual_ast = parse.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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 Ubuntu NoGIL 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1225/builds/2515
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-ubuntu-aws
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpo3buv76y/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp5fiw02zt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmp7sunv4ke/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp2sl98oj2/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp9qe7_vw0/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpr8e6d78n/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpp_zb25q0/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmprl39zi23\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp8pod2_vy\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmp3a4flhv8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpotp0rwul/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp15721ixc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpp4q8ni3y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpthwaizeq/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpfzk_91fo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmp5u6yq9kd\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpur_je7mx/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmp2hedogq2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["pass", "pass; pass"]\n invalid_cases = ["pass;", "pass; pass;"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpzd3nvttz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmp5gjs3znl/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp_j6sic7s/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpi8gawcay\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpp4q8ni3y/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp8578lc5z/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp_j6sic7s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpyt2gmz6i/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpr8e6d78n\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp9qe7_vw0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x y z"]\n invalid_cases = ["x q s"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpthwaizeq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpfp8trhbt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpfp8trhbt/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpol7403qw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpp_zb25q0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["B E", "D A C A E"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmps65vo74j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp8578lc5z\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp15721ixc/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpnr734_dr\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["x ="]\n invalid_cases = ["x - + ="]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpdtfa4p6k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpbxv3lg_k/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmppgato2bb/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmprl39zi23/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpfzk_91fo/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmplz6g8th2/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpur_je7mx\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpzqfzcoxc/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmps65vo74j/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmp5gjs3znl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpoy7k461s/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpo_jbxv1r\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmppgato2bb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "return"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmppxpmxdye\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for stmt in ("from a import b as c", "from . import a as b"):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpo3buv76y\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpq_0pxtlh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "with (\\n a as b,\\n c as d\\n): pass"\n the_ast = parse.parse_string(stmt, mode=1)\n self.assertTrue(ast_dump(the_ast).startswith(\n "Module(body=[With(items=[withitem(context_expr=Name(id=\'a\', ctx=Load()), optional_vars=Name(id=\'b\', ctx=Store())), "\n "withitem(context_expr=Name(id=\'c\', ctx=Load()), optional_vars=Name(id=\'d\', ctx=Store()))]"\n ))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpol7403qw/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpdtfa4p6k/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpoy7k461s\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp249r8kxw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpq_0pxtlh/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp5fiw02zt/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpnr734_dr/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpnknt1lg4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpmdhpu19x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n expressions = [\n "4+5",\n "4-5",\n "4*5",\n "1+4*5",\n "1+4/5",\n "(1+1) + (1+1)",\n "(1+1) - (1+1)",\n "(1+1) * (1+1)",\n "(1+1) / (1+1)",\n ]\n\n for expr in expressions:\n the_ast = parse.parse_string(expr, mode=1)\n expected_ast = ast.parse(expr)\n self.assertEqual(ast_dump(the_ast), ast_dump(expected_ast))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp2sl98oj2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmp7sunv4ke\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected \':\'", str(e.exception))\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_pyrepl/test_pyrepl.py", line 861, in test_dumb_terminal_exits_cleanly
self.assertIn("warning: can\'t use pyrepl", output)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "warning: can't use pyrepl" not found in 'exit()\r\n'
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpo_jbxv1r/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp249r8kxw/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmp4jl2udf0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp0so8mixp/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmp3a4flhv8/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpbxv3lg_k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmplz6g8th2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmp8pod2_vy/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmppxpmxdye/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpyt2gmz6i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo bar"]\n invalid_cases = ["foo 34"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpyh7gp3lw/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmp4jl2udf0/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpzd3nvttz/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmp5u6yq9kd/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpmdhpu19x/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/__init__.py", line 2622, in wrapper
return func(*args, **kwargs)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_pyrepl/test_pyrepl.py", line 854, in test_exposed_globals_in_repl
self.assertIn(expected_output, output)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: "['__annotations__', '__builtins__', '__doc__', '__loader__', '__name__', '__package__', '__spec__']" not found in 'sorted(dir())\r\nexit\r\n\nPython 3.14.0a0 experimental free-threading build (heads/main:ac61d58db0, Jun 24 2024, 12:10:57) [GCC 11.4.0] on linux\n\r\nType "help", "copyright", "credits" or "license" for more information.\r\n'
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmp2hedogq2/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpzqfzcoxc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpyh7gp3lw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["-34", "34", "34 + 12", "1 + 1 + 2 + 3"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpz6p9mutn/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmp0so8mixp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n for text in ("a b 42 b a", "\\u540d \\u540d 42 \\u540d \\u540d"):\n try:\n parse.parse_string(text, mode=0)\n except SyntaxError as e:\n tb = traceback.format_exc()\n self.assertTrue(\'File "<string>", line 1\' in tb)\n self.assertTrue(f"SyntaxError: invalid syntax" in tb)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778æ/tmpz6p9mutn\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072��/tmpi8gawcay/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Traceback (most recent call last):
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2041072æ/tmpotp0rwul\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\
n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["if if + if"]\n invalid_cases = ["if if"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /home/ubuntu/buildarea/3.x.itamaro-ubuntu-aws.nogil/build/build/test_python_2016778��/tmpnknt1lg4/parse.cpython-314td-x86_64-linux-gnu.so: undefined symbol: _PyExc_IncompleteInputError
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_exposed_globals_in_repl - test.test_pyrepl.test_pyrepl.TestMain.test_exposed_globals_in_repl
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_dumb_terminal_exits_cleanly - test.test_pyrepl.test_pyrepl.TestMain.test_dumb_terminal_exits_cleanly
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder ARM64 MacOS M1 NoGIL 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1270/builds/1915
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: itamaro-macos-arm64-aws
Build Reason: <unknown>
Blamelist: Pablo Galindo Salgado <Pablogsal(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp4dpujrp0/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpmvu6itg4/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmprb7rfa3i/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpduuypu91/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpo7y208l3/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp3y_jl0ix\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpzt_802du\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp3y_jl0ix/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmprcq1ff2x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpfglhbtcp/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp65fhjivj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpsznn112v\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp9260b5ms\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpe3kz8i38\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp8zy_dwmg\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp07u__4dl/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpr7byv6o6/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpxilce0lu/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpmc1w8gau\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpnc8unaa2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpf1sn2ix3/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp8exy441q\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp1wld1sf7/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpfglhbtcp\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpu6hqvcyz/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp4dpujrp0\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpmfqq607j/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpqv9z0ypc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpmc1w8gau/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpqv9z0ypc/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp103g5tc6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpczcndrv2/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpxilce0lu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpo59uzlf8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp9260b5ms/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpkzt5_r5b\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmprrujfzim/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpduuypu91\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpre6xnyw2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpvzfc7qq6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpzm834f9e/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpmr3yx0j2/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpzm834f9e\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpzt_802du/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmprcq1ff2x/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp49vfncw9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpgr9evdij/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpmr3yx0j2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp49vfncw9/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpxb71q5vc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpgr9evdij\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp7s34oa2t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpe3kz8i38/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpsznn112v/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpf1sn2ix3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.parse_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp8exy441q/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp8cl46rbu/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp65fhjivj/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpxb71q5vc/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpo59uzlf8/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpo7y208l3\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp_a5d1uwo/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp55byirg1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmprb7rfa3i\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpk1htvwrv/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp8cl46rbu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp9_f_m0hc\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpnc8unaa2/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp55byirg1/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp9_f_m0hc/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp8zy_dwmg/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpr7byv6o6\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmpmvu6itg4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpre6xnyw2/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpczcndrv2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmpvzfc7qq6/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp_a5d1uwo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp7s34oa2t/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761æ/tmp07u__4dl\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpu6hqvcyz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp1wld1sf7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmpkzt5_r5b/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpmfqq607j\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmp2c8qvca2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_62761��/tmp103g5tc6/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Traceback (most recent call last):
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmpk1htvwrv\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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 "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/python.exe', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281æ/tmprrujfzim\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_
ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.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: dlopen(/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.nogil/build/build/test_python_74281��/tmp2c8qvca2/parse.cpython-314td-darwin.so, 0x0002): symbol not found in flat namespace '__PyExc_IncompleteInputError'
---
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The BuildbotThe Buildbot has detected a new failure on builder AMD64 FreeBSD 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1223/builds/3469
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: ware-freebsd
Build Reason: <unknown>
Blamelist: Alek Kowalczyk <alek.kowalczyk(a)gmail.com>, Barney Gale <barney.gale(a)gmail.com>, Hugo van Kemenade <1324225+hugovk(a)users.noreply.github.com>, Irit Katriel <1055913+iritkatriel(a)users.noreply.github.com>, Jason R. Coombs <jaraco(a)jaraco.com>, Kumar Aditya <kumaraditya(a)python.org>, Nyakku Shigure <sigure.qaq(a)gmail.com>, Pablo Galindo Salgado <Pablogsal(a)gmail.com>, Serhiy Storchaka <storchaka(a)gmail.com>
BUILD FAILED: failed test (failure) clean (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpja7s3d4u/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmplu0vsww2\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpd2eam3wt\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmptxu3fjv4\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpgd9hlauz/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpgd9hlauz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "[i for i in a if b]"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpq1893pzi/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmplu0vsww2/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpem4zgjei\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmp5697ue7g/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpvxgvafaj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmph4i0u26d/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmps9qs33iu/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpnpiow29a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpredqhlrz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpem4zgjei/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmp5697ue7g\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmphj2j1vcu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpredqhlrz/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpsj3lg62k/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp2360xerb\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp4z1woayo\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmphzj9s10a\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmprrnkssdu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp901770dk/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmphqg3jff_/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpnpi1u5zj\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp2360xerb/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpai2oz8ka\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 395, in test_with_stmt_with_paren
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp8bxmhuwe\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 220, in test_cut
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp8bzr9mg9\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpdlqhqkyh\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpbc9dyvvz/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp3e35t452/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpzpjaqej7\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 255, in test_advanced_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmph4i0u26d\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["23", "-34"]\n self.check_input_strings_for_grammar(valid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmptxu3fjv4/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp8bxmhuwe/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 486, in test_soft_keywords_parse
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmp7q4xd_hw\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 180, in test_c_parser
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp901770dk\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmp7qzc4r9t/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp1snawbb5\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpg8y2h87c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp3e35t452\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n with self.assertRaises(SystemError):\n parse.parse_string("a", mode=0)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmphzj9s10a/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 267, in test_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpq1893pzi\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpai2oz8ka/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 498, in test_soft_keywords_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpmittl3nf\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp8bzr9mg9/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 192, in test_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpbc9dyvvz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 280, in test_nasty_mutually_left_recursive
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpq0pkkz8w\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 523, in test_forced_with_group
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpsj3lg62k\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n self.assertEqual(parse.parse_string("number :", mode=0), None)\n self.assertEqual(parse.parse_string("number ;", mode=0), None)\n with self.assertRaises(SyntaxError) as e:\n parse.parse_string("a", mode=0)\n self.assertIn("expected (\':\' | \';\')", e.exception.args[0])\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmp7q4xd_hw/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpd2eam3wt/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpvxgvafaj/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 232, in test_gather
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp53e4_cxq\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 349, in test_if_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpodfdtxc1\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpnpi1u5zj/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp_wdacznz/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpv3f6ug2c/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 369, in test_same_name_different_types
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpja7s3d4u\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 204, in test_negative_lookahead
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpyawsf_os\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n valid_cases = ["foo 34"]\n invalid_cases = ["foo bar"]\n self.check_input_strings_for_grammar(valid_cases, invalid_cases)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp1snawbb5/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpu951b64l/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpzpjaqej7/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpzk8oqf0x/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpq0pkkz8w/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpyawsf_os/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp53e4_cxq/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 295, in test_return_stmt_noexpr_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmp7doe93v8\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmpv3f6ug2c\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_string(stmt, mode=1)\n self.assertEqual(ast_dump(expected_ast), ast_dump(actual_ast))\n\n def test_parse(self):\n \n stmt = "pass; pass"\n self.verify_ast_generation(stmt)\n\n\nunittest.main()\n']
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpodfdtxc1/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmprrnkssdu/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmp4z1woayo/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 413, in test_ternary_operator
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264æ/tmp_wdacznz\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 429, in test_syntax_error_for_string
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpu951b64l\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpnpiow29a/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmphj2j1vcu/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 244, in test_left_recursion
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpzk8oqf0x\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpmittl3nf/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpdlqhqkyh/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmpsayzskil/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 456, in test_error_in_rules
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmpsayzskil\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 306, in test_gather_action_ast
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmp7qzc4r9t\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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 "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 321, in test_pass_stmt_action
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmps9qs33iu\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710��/tmp7doe93v8/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "<string>", line 14, in <module>
import parse
ImportError: /buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48264��/tmpg8y2h87c/parse.cpython-314d.so: Undefined symbol "_PyExc_IncompleteInputError"
---
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 510, in test_forced
self.run_test(grammar_source, test_source)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_peg_generator/test_c_parser.py", line 136, in run_test
assert_python_ok(
~~~~~~~~~~~~~~~~^
"-c",
^^^^^
TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 180, in assert_python_ok
return _assert_python(True, *args, **env_vars)
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 165, in _assert_python
res.fail(cmd_line)
~~~~~~~~^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/support/script_helper.py", line 75, in fail
raise AssertionError("Process return code is %d\n"
...<13 lines>...
err))
AssertionError: Process return code is 1
command line: ['/buildbot/buildarea/3.x.ware-freebsd/build/python', '-X', 'faulthandler', '-I', '-c', '\ntmp_dir = \'/buildbot/buildarea/3.x.ware-freebsd/build/build/test_python_48710æ/tmphqg3jff_\'\n\nimport ast\nimport traceback\nimport sys\nimport unittest\n\nfrom test import test_tools\nwith test_tools.imports_under_tool("peg_generator"):\n from pegen.ast_dump import ast_dump\n\nsys.path.insert(0, tmp_dir)\nimport parse\n\nclass Tests(unittest.TestCase):\n\n def check_input_strings_for_grammar(\n self,\n valid_cases = (),\n invalid_cases = (),\n ):\n if valid_cases:\n for case in valid_cases:\n parse.parse_string(case, mode=0)\n\n if invalid_cases:\n for case in invalid_cases:\n with self.assertRaises(SyntaxError):\n parse.parse_string(case, mode=0)\n\n def verify_ast_generation(self, stmt):\n expected_ast = ast.parse(stmt)\n actual_ast = parse.pars
e_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']
Test report
===========
Failed tests:
- test_peg_generator
Failed subtests:
- test_left_recursion - test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion
- test_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive
- test_cut - test.test_peg_generator.test_c_parser.TestCParser.test_cut
- test_same_name_different_types - test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types
- test_forced - test.test_peg_generator.test_c_parser.TestCParser.test_forced
- test_forced_with_group - test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group
- test_soft_keywords_parse - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse
- test_soft_keywords_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead
- test_gather_action_ast - test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast
- test_error_in_rules - test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules
- test_advanced_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive
- test_with_stmt_with_paren - test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren
- test_if_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action
- test_negative_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead
- test_ternary_operator - test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator
- test_return_stmt_noexpr_action - test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action
- test_lookahead - test.test_peg_generator.test_c_parser.TestCParser.test_lookahead
- test_c_parser - test.test_peg_generator.test_c_parser.TestCParser.test_c_parser
- test_nasty_mutually_left_recursive - test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive
- test_syntax_error_for_string - test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string
- test_gather - test.test_peg_generator.test_c_parser.TestCParser.test_gather
- test_pass_stmt_action - test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): - failed test (failure) (b64488545f17c6c86d5cb5ba64f55db94d3a08ad)
by buildbot@python.org 24 Jun '24
by buildbot@python.org 24 Jun '24
24 Jun '24
The Buildbot has detected a new failure on builder PPC64LE RHEL8 Refleaks 3.12 while building Python.
Full details are available at:
https://buildbot.python.org/all/#/builders/1158/builds/403
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-ppc64le
Build Reason: <unknown>
Blamelist:
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
Captured traceback
==================
remote: Enumerating objects: 29, done.
remote: Counting objects: 3% (1/28)
remote: Counting objects: 7% (2/28)
remote: Counting objects: 10% (3/28)
remote: Counting objects: 14% (4/28)
remote: Counting objects: 17% (5/28)
remote: Counting objects: 21% (6/28)
remote: Counting objects: 25% (7/28)
remote: Counting objects: 28% (8/28)
remote: Counting objects: 32% (9/28)
remote: Counting objects: 35% (10/28)
remote: Counting objects: 39% (11/28)
remote: Counting objects: 42% (12/28)
remote: Counting objects: 46% (13/28)
remote: Counting objects: 50% (14/28)
remote: Counting objects: 53% (15/28)
remote: Counting objects: 57% (16/28)
remote: Counting objects: 60% (17/28)
remote: Counting objects: 64% (18/28)
remote: Counting objects: 67% (19/28)
remote: Counting objects: 71% (20/28)
remote: Counting objects: 75% (21/28)
remote: Counting objects: 78% (22/28)
remote: Counting objects: 82% (23/28)
remote: Counting objects: 85% (24/28)
remote: Counting objects: 89% (25/28)
remote: Counting objects: 92% (26/28)
remote: Counting objects: 96% (27/28)
remote: Counting objects: 100% (28/28)
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 5% (1/17)
remote: Compressing objects: 11% (2/17)
remote: Compressing objects: 17% (3/17)
remote: Compressing objects: 23% (4/17)
remote: Compressing objects: 29% (5/17)
remote: Compressing objects: 35% (6/17)
remote: Compressing objects: 41% (7/17)
remote: Compressing objects: 47% (8/17)
remote: Compressing objects: 52% (9/17)
remote: Compressing objects: 58% (10/17)
remote: Compressing objects: 64% (11/17)
remote: Compressing objects: 70% (12/17)
remote: Compressing objects: 76% (13/17)
remote: Compressing objects: 82% (14/17)
remote: Compressing objects: 88% (15/17)
remote: Compressing objects: 94% (16/17)
remote: Compressing objects: 100% (17/17)
remote: Compressing objects: 100% (17/17), done.
remote: Total 29 (delta 13), reused 19 (delta 11), pack-reused 1
From https://github.com/python/cpython
* branch 3.12 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at b64488545f [3.12] Amend categories of @nineteendo's news entries (GH-120735) (#120736)
Switched to and reset branch '3.12'
make: *** [Makefile:2021: buildbottest] Terminated
Test report
===========
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - failed test (failure) (main)
by buildbot@python.org 23 Jun '24
by buildbot@python.org 23 Jun '24
23 Jun '24
The Buildbot has detected a new failure on builder AMD64 Debian root 3.x while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/345/builds/8345
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: angelico-debian-amd64
Build Reason: <unknown>
Blamelist: Barney Gale <barney.gale(a)gmail.com>, Hugo van Kemenade <1324225+hugovk(a)users.noreply.github.com>, Jason R. Coombs <jaraco(a)jaraco.com>, Kumar Aditya <kumaraditya(a)python.org>, Nyakku Shigure <sigure.qaq(a)gmail.com>, Serhiy Storchaka <storchaka(a)gmail.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_os.py", line 4494, in test_timerfd_ns_select
self.assertEqual(self.read_count_signaled(fd), 1)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 2 != 1
Traceback (most recent call last):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_pathlib/test_pathlib.py", line 661, in test_copytree_no_read_permission
self.assertRaises(PermissionError, source.copytree, target)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: PermissionError not raised by copytree
Test report
===========
Failed tests:
- test_pathlib
Failed subtests:
- test_copytree_no_read_permission - test.test_pathlib.test_pathlib.PosixPathTest.test_copytree_no_read_permission
- test_copytree_no_read_permission - test.test_pathlib.test_pathlib.PathSubclassTest.test_copytree_no_read_permission
- test_timerfd_ns_select - test.test_os.TimerfdTests.test_timerfd_ns_select
- test_copytree_no_read_permission - test.test_pathlib.test_pathlib.PathTest.test_copytree_no_read_permission
Sincerely,
-The Buildbot
1
0
☠ Buildbot (Python): python/cpython - failed test (failure) (3.13)
by buildbot@python.org 23 Jun '24
by buildbot@python.org 23 Jun '24
23 Jun '24
The Buildbot has detected a new failure on builder aarch64 RHEL8 LTO 3.13 while building python/cpython.
Full details are available at:
https://buildbot.python.org/all/#/builders/1393/builds/163
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL8-aarch64
Build Reason: <unknown>
Blamelist: Miss Islington (bot) <31488909+miss-islington(a)users.noreply.github.com>
BUILD FAILED: failed test (failure)
Summary of the results of the build (if available):
===================================================
==
Captured traceback
==================
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.13.cstratak-RHEL8-aarch64.lto/build/Lib/threading.py", line 1039, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/home/buildbot/buildarea/3.13.cstratak-RHEL8-aarch64.lto/build/Lib/threading.py", line 990, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.13.cstratak-RHEL8-aarch64.lto/build/Lib/test/test_interpreters/test_stress.py", line 29, in task
interp = interpreters.create()
File "/home/buildbot/buildarea/3.13.cstratak-RHEL8-aarch64.lto/build/Lib/test/support/interpreters/__init__.py", line 76, in create
id = _interpreters.create(reqrefs=True)
interpreters.InterpreterError: interpreter creation failed
k
Test report
===========
Sincerely,
-The Buildbot
1
0