Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-130396: Use computed stack limits on linux #130398

Merged
merged 22 commits into from
Feb 25, 2025

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Feb 21, 2025

Technically, not just linux, but any platform with pthread_getattr_np.

@markshannon markshannon marked this pull request as draft February 21, 2025 12:09
@markshannon markshannon force-pushed the gnu-stack-overflow-check branch 2 times, most recently from ec4cc83 to 6b48afe Compare February 21, 2025 16:03
@markshannon markshannon added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 21, 2025
@markshannon markshannon marked this pull request as ready for review February 21, 2025 17:11
@markshannon markshannon removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 21, 2025
@markshannon
Copy link
Member Author

!buildbot .*

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 12f9ce7 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: .*

The builders matched are:

  • PPC64LE CentOS9 LTO PR
  • AMD64 Windows10 PR
  • AMD64 FreeBSD Refleaks PR
  • aarch64 Fedora Rawhide Clang Installed PR
  • PPC64LE Fedora Stable Refleaks PR
  • AMD64 Arch Linux VintageParser PR
  • PPC64LE CentOS9 PR
  • PPC64LE Fedora Rawhide Clang PR
  • PPC64LE CentOS9 Refleaks PR
  • AMD64 Windows11 Non-Debug PR
  • AMD64 RHEL8 PR
  • s390x RHEL8 LTO PR
  • AMD64 Arch Linux Valgrind PR
  • AMD64 Windows11 Bigmem PR
  • PPC64LE RHEL8 LTO + PGO PR
  • aarch64 Ubuntu 22.04 BigMem PR
  • PPC64LE Fedora Stable Clang Installed PR
  • ARM64 MacOS M1 Refleaks NoGIL PR
  • s390x RHEL9 LTO + PGO PR
  • AMD64 FreeBSD PR
  • AMD64 FreeBSD14 PR
  • aarch64 RHEL8 PR
  • aarch64 Fedora Rawhide LTO + PGO PR
  • AMD64 Fedora Rawhide Clang PR
  • iOS ARM64 Simulator PR
  • AMD64 Fedora Rawhide Refleaks PR
  • PPC64LE Fedora Rawhide LTO PR
  • AMD64 CentOS9 FIPS No Builtin Hashes PR
  • AMD64 CentOS9 PR
  • SPARCv9 Oracle Solaris 11.4 PR
  • s390x RHEL8 LTO + PGO PR
  • AMD64 RHEL8 Refleaks PR
  • aarch64 Fedora Rawhide LTO PR
  • s390x RHEL9 LTO PR
  • PPC64LE CentOS9 LTO + PGO PR
  • AMD64 Fedora Stable LTO PR
  • ARM64 macOS PR
  • PPC64LE Fedora Rawhide NoGIL PR
  • PPC64 AIX PR
  • aarch64 Fedora Stable LTO PR
  • AMD64 CentOS9 NoGIL Refleaks PR
  • ARM Raspbian PR
  • AMD64 Fedora Rawhide NoGIL refleaks PR
  • s390x RHEL9 PR
  • ARM64 Windows Non-Debug PR
  • AMD64 Fedora Stable Clang PR
  • PPC64LE Fedora Stable LTO PR
  • AMD64 Debian root PR
  • PPC64LE Fedora Stable Clang PR
  • aarch64 Fedora Stable Refleaks PR
  • AMD64 Arch Linux Asan PR
  • AMD64 RHEL8 FIPS No Builtin Hashes PR
  • AMD64 FreeBSD15 PR
  • AMD64 Windows PGO PR
  • PPC64LE Fedora Stable LTO + PGO PR
  • PPC64LE RHEL8 LTO PR
  • PPC64LE RHEL8 PR
  • PPC64LE Fedora Rawhide NoGIL refleaks PR
  • x86-64 macOS PR
  • aarch64 Fedora Stable PR
  • ARM64 Windows PR
  • AMD64 Fedora Stable PR
  • AMD64 RHEL8 FIPS Only Blake2 Builtin Hash PR
  • aarch64 Fedora Stable Clang Installed PR
  • AMD64 Arch Linux Asan Debug PR
  • aarch64 Fedora Rawhide NoGIL refleaks PR
  • PPC64LE Fedora Stable PR
  • aarch64 RHEL8 Refleaks PR
  • s390x RHEL8 Refleaks PR
  • aarch64 Fedora Rawhide PR
  • AMD64 Arch Linux Usan PR
  • AMD64 Ubuntu PR
  • AMD64 Arch Linux TraceRefs PR
  • AMD64 Fedora Stable Refleaks PR
  • PPC64LE Fedora Rawhide Clang Installed PR
  • AMD64 Fedora Rawhide NoGIL PR
  • AMD64 Fedora Stable Clang Installed PR
  • AMD64 CentOS9 LTO + PGO PR
  • PPC64LE Fedora Rawhide Refleaks PR
  • AMD64 RHEL8 LTO PR
  • AMD64 RHEL8 LTO + PGO PR
  • AMD64 Alpine Linux PR
  • aarch64 Android PR
  • wasm32-wasi PR
  • AMD64 Windows11 Refleaks PR
  • AMD64 CentOS9 LTO PR
  • aarch64 Fedora Stable LTO + PGO PR
  • s390x RHEL8 PR
  • AMD64 Fedora Stable LTO + PGO PR
  • AMD64 Arch Linux Usan Function PR
  • wasm32-wasi Non-Debug PR
  • wasm32 WASI 8Core PR
  • AMD64 Windows Server 2022 NoGIL PR
  • aarch64 CentOS9 LTO + PGO PR
  • AMD64 CentOS9 NoGIL PR
  • AMD64 Fedora Rawhide LTO PR
  • riscv64 Ubuntu23 PR
  • AMD64 CentOS9 FIPS Only Blake2 Builtin Hash PR
  • AMD64 Arch Linux Perf PR
  • aarch64 CentOS9 LTO PR
  • aarch64 Fedora Rawhide NoGIL PR
  • aarch64 Fedora Rawhide Clang PR
  • x86 Debian Non-Debug with X PR
  • AMD64 Fedora Rawhide PR
  • AMD64 Fedora Rawhide LTO + PGO PR
  • aarch64 Fedora Stable Clang PR
  • PPC64LE Fedora Rawhide LTO + PGO PR
  • ARM64 MacOS M1 NoGIL PR
  • PPC64 AIX XLC PR
  • AMD64 CentOS9 Refleaks PR
  • x86-64 MacOS Intel NoGIL PR
  • PPC64LE RHEL8 Refleaks PR
  • AMD64 Android PR
  • x86-64 MacOS Intel ASAN NoGIL PR
  • PPC64LE Fedora Rawhide PR
  • s390x RHEL9 Refleaks PR
  • AMD64 Ubuntu Shared PR
  • AMD64 Windows PGO NoGIL PR
  • aarch64 Fedora Rawhide Refleaks PR
  • AMD64 Fedora Rawhide Clang Installed PR
  • aarch64 CentOS9 Refleaks PR
  • aarch64 RHEL8 LTO + PGO PR
  • aarch64 RHEL8 LTO PR
  • x86 Debian Installed with X PR

Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm definitely not an expert in this particular area, but the changes seem reasonable (provided the buildbots are happy).

Comment on lines 25 to 27
* no two calls to check recursion depth are more than this far
* apart. In practice, that means it must be larger than the C
* stack consumption of PyEval_EvalDefault */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems sort of fragile? What if there's a ton of unrelated C calls (maybe from a C extension) between two interpreter entries? Does that cause this to be incorrect?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any C code that can recurse needs to do checks.
We already do that in plenty of places, like the parser, compiler, json encoding, etc.
C extensions should do it too.

@markshannon
Copy link
Member Author

Ignoring prior failures and timesouts, the buildbot fialures are webassembly stack overflows and a couple of odd AIX failures.

@markshannon
Copy link
Member Author

!buildbot was[i|m]

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit f6002e5 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: was[i|m]

The builders matched are:

  • wasm32 WASI 8Core PR
  • wasm32-wasi PR
  • wasm32-wasi Non-Debug PR

@markshannon
Copy link
Member Author

!buildbot AIX

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit f6002e5 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: AIX

The builders matched are:

  • PPC64 AIX PR
  • PPC64 AIX XLC PR

@markshannon
Copy link
Member Author

markshannon commented Feb 24, 2025

It seems like AIX is now failing due to prior failure. A compilation failure due to missing atomics.

One failure is a compilation failure. The other is stack related.

@markshannon
Copy link
Member Author

!buildbot AIX

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 1d76b48 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: AIX

The builders matched are:

  • PPC64 AIX PR
  • PPC64 AIX XLC PR

@markshannon
Copy link
Member Author

!buildbot AIX

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 415906c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: AIX

The builders matched are:

  • PPC64 AIX PR
  • PPC64 AIX XLC PR

@markshannon
Copy link
Member Author

!buildbot iOS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 415906c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@markshannon
Copy link
Member Author

Compilation failures on both AIX buildbots, but unrelated to this PR.

@markshannon
Copy link
Member Author

!buildbot wasm

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 415906c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: wasm

The builders matched are:

  • wasm32 WASI 8Core PR
  • wasm32-wasi PR
  • wasm32-wasi Non-Debug PR

@markshannon
Copy link
Member Author

!buildbot iOS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit b3ccffc 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@markshannon
Copy link
Member Author

!buildbot iOS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit a2c1656 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@markshannon
Copy link
Member Author

!buildbot wasm

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit a2c1656 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: wasm

The builders matched are:

  • wasm32 WASI 8Core PR
  • wasm32-wasi PR
  • wasm32-wasi Non-Debug PR

@markshannon
Copy link
Member Author

!buildbot wasm

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit a2c1656 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130398%2Fmerge

The command will test the builders whose names match following regular expression: wasm

The builders matched are:

  • wasm32 WASI 8Core PR
  • wasm32-wasi PR
  • wasm32-wasi Non-Debug PR

@markshannon markshannon merged commit 0142236 into python:main Feb 25, 2025
75 checks passed
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Windows Server 2022 NoGIL 3.x has failed when building commit 0142236.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1241/builds/4706) and take a look at the build logs.
  4. Check if the failure is related to this commit (0142236) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1241/builds/4706

Failed tests:

  • test_capi

Failed subtests:

  • test_trashcan_python_class1 - test.test_capi.test_misc.CAPITest.test_trashcan_python_class1
  • test_trashcan_python_class2 - test.test_capi.test_misc.CAPITest.test_trashcan_python_class2

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "<string>", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 813, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1056, in create_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ImportError: module _test_module_state_shared does not support loading in subinterpreters
xpected failure


Traceback (most recent call last):
  File "C:\Users\Administrator\buildarea\3.x.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\test\test_capi\test_misc.py", line 416, in test_trashcan_python_class1
    self.do_test_trashcan_python_class(list)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Administrator\buildarea\3.x.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\test\test_capi\test_misc.py", line 449, in do_test_trashcan_python_class
    self.assertEqual(PyList.num, 0)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
AssertionError: 60728 != 0


Traceback (most recent call last):
  File "C:\Users\Administrator\buildarea\3.x.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\test\test_capi\test_misc.py", line 421, in test_trashcan_python_class2
    self.do_test_trashcan_python_class(MyList)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\Users\Administrator\buildarea\3.x.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\test\test_capi\test_misc.py", line 449, in do_test_trashcan_python_class
    self.assertEqual(PyList.num, 0)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
AssertionError: 32295 != 0

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Fedora Stable Clang 3.x has failed when building commit 0142236.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/441/builds/7400) and take a look at the build logs.
  4. Check if the failure is related to this commit (0142236) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/441/builds/7400

Failed tests:

  • test.test_gdb.test_cfunction_full
  • test.test_gdb.test_misc
  • test.test_gdb.test_backtrace

Failed subtests:

  • test_pycfunction_fastcall_keywords - test.test_gdb.test_cfunction_full.CFunctionFullTests.test_pycfunction_fastcall_keywords
  • test_basic_command - test.test_gdb.test_misc.PyPrintTests.test_basic_command
  • test_pyup_command - test.test_gdb.test_misc.StackNavigationTests.test_pyup_command
  • test_up_then_down - test.test_gdb.test_misc.StackNavigationTests.test_up_then_down
  • test_pycfunction_noargs - test.test_gdb.test_cfunction_full.CFunctionFullTests.test_pycfunction_noargs
  • test_pycfunction_o - test.test_gdb.test_cfunction_full.CFunctionFullTests.test_pycfunction_o
  • test_pycfunction_fastcall - test.test_gdb.test_cfunction_full.CFunctionFullTests.test_pycfunction_fastcall
  • test_bt - test.test_gdb.test_backtrace.PyBtTests.test_bt

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<module at remote 0x7fffe9d415b0>, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n1771\t    PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0  meth_fastcall_keywords (self=<module at remote 0x7fffe9d415b0>, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall_keywords of module object at remote 0x7fffe9d415b0>, args=, nargsf=0, kwnames=<unknown at remote 0x7fffe9c72860>) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.meth_fastcall_keywords()\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#8  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__ma
n__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3e0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_misc.py", line 138, in test_basic_command
    self.assertMultilineMatches(bt,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
                                r".*\nlocal 'args' = \(1, 2, 3\)\n.*")
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/util.py", line 286, in assertMultilineMatches
    self.fail(msg='%r did not match %r' % (actual, pattern))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'Breakpoint 1 at 0x5e05f9: file Python/bltinmodule.c, line 1311.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<optimized out>, v=42) at Python/bltinmodule.c:1311\n1311\t    PyObject *id = PyLong_FromVoidPtr(v);\n#9 Frame 0x7ffff7bb1128, for file <string>, line 9, in bar (a=1, b=2, c=3)\n#9 Frame 0x7ffff7bb1098, for file <string>, line 6, in foo (a=1, b=2, c=3)\n#9 Frame 0x7ffff7bb1020, for file <string>, line 14, in <module> ()\n\'args\' not found\n' did not match ".*\\nlocal 'args' = \\(1, 2, 3\\)\\n.*"


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_backtrace.py", line 20, in test_bt
            self.assertMultilineMatches(bt,
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
                                        r'''^.*
                                        ^^^^^^^
    ...<9 lines>...
        foo\(1, 2, 3\)
        ^^^^^^^^^^^^^^
    ''')
    ^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/util.py", line 286, in assertMultilineMatches
    self.fail(msg='%r did not match %r' % (actual, pattern))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'Breakpoint 1 at 0x5e05f9: file Python/bltinmodule.c, line 1311.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<optimized out>, v=42) at Python/bltinmodule.c:1311\n1311\t    PyObject *id = PyLong_FromVoidPtr(v);\nTraceback (most recent call first):\n  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/gdb_sample.py", line 10, in baz\n    id(42)\n  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/gdb_sample.py", line 7, in bar\n    baz(a, b, c)\n  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/gdb_sample.py", line 4, in foo\n    bar(a=a, b=b, c=c)\n  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/gdb_sample.py", line 12, in <module>\n    foo(1, 2, 3)\n' did not match '^.*\nTraceback \\(most recent call first\\):\n  <built-in method id of module object .*>\n  File ".*gdb_sample.py", line 10, in baz\n    id\\(42\\)\n  File ".*gdb_sample.py", line 7, in bar\n    baz\\(a, b, c\\)\n  File ".*gdb_sample.py", line 4, in foo\n    bar\\(a=a, b=b, c=c\\)\n  File ".*gdb_sample.py", line 12, in <module>\n    foo\\(1, 2, 3\\)\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_o' not found in 'Breakpoint 1 (meth_o) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_o (self=<module at remote 0x7fffe9d415b0>, obj=[]) at ./Modules/_testcapimodule.c:1736\n1736\t    return Py_BuildValue("NO", _null_to_none(self), obj);\n#0  meth_o (self=<module at remote 0x7fffe9d415b0>, obj=[]) at ./Modules/_testcapimodule.c:1736\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_o of module object at remote 0x7fffe9d415b0>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.meth_o([])\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#8  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0
, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab100>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<type at remote 0x7fffe9cb6ce8>, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n1771\t    PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0  meth_fastcall_keywords (self=<type at remote 0x7fffe9cb6ce8>, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall_keywords of type object at remote 0x7fffe9cb6ce8>, args=, nargsf=0, kwnames=<unknown at remote 0x7fffe9c72860>) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab530>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab530>, \'__spec__\': None, \'__builtins__\': <module at rem
'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab530>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab530>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_misc.py", line 95, in test_pyup_command
            self.assertMultilineMatches(bt,
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
                                        r'''^.*
                                        ^^^^^^^
    #[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    #[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    $''')
    ^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/util.py", line 286, in assertMultilineMatches
    self.fail(msg='%r did not match %r' % (actual, pattern))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'Breakpoint 1 at 0x5e05f9: file Python/bltinmodule.c, line 1311.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<optimized out>, v=42) at Python/bltinmodule.c:1311\n1311\t    PyObject *id = PyLong_FromVoidPtr(v);\n#9 Frame 0x7ffff7bb1128, for file <string>, line 9, in bar (a=1, b=2, c=3)\n#9 Frame 0x7ffff7bb1098, for file <string>, line 6, in foo (a=1, b=2, c=3)\n#9 Frame 0x7ffff7bb1020, for file <string>, line 14, in <module> ()\nUnable to find an older python frame\n' did not match '^.*\n#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \\(args=\\(1, 2, 3\\)\\)\n#[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>\n$'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall' not found in 'Breakpoint 1 (meth_fastcall) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall (self=0x0, args=, nargs=0) at ./Modules/_testcapimodule.c:1763\n1763\t        "NN", _null_to_none(self), _fastcall_to_tuple(args, nargs)\n#0  meth_fastcall (self=0x0, args=, nargs=0) at ./Modules/_testcapimodule.c:1763\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall of type object at remote 0x7fffe9cb6e88>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.MethStatic().meth_fastcall()\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#8  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remot
 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab450>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall' not found in 'Breakpoint 1 (meth_fastcall) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall (self=<module at remote 0x7fffe9d415b0>, args=, nargs=0) at ./Modules/_testcapimodule.c:1763\n1763\t        "NN", _null_to_none(self), _fastcall_to_tuple(args, nargs)\n#0  meth_fastcall (self=<module at remote 0x7fffe9d415b0>, args=, nargs=0) at ./Modules/_testcapimodule.c:1763\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall of module object at remote 0x7fffe9d415b0>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.meth_fastcall()\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#8  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__s
c__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=0x0, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n1771\t    PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0  meth_fastcall_keywords (self=0x0, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall_keywords of type object at remote 0x7fffe9cb6e88>, args=, nargsf=0, kwnames=<unknown at remote 0x7fffe9c72860>) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d4
\'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_o' not found in 'Breakpoint 1 (meth_o) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_o (self=<type at remote 0x7fffe9cb6ce8>, obj=[]) at ./Modules/_testcapimodule.c:1736\n1736\t    return Py_BuildValue("NO", _null_to_none(self), obj);\n#0  meth_o (self=<type at remote 0x7fffe9cb6ce8>, obj=[]) at ./Modules/_testcapimodule.c:1736\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_o of type object at remote 0x7fffe9cb6ce8>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.MethClass.meth_o([])\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#8  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab370>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_o' not found in 'Breakpoint 1 (meth_o) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_o (self=0x0, obj=[]) at ./Modules/_testcapimodule.c:1736\n1736\t    return Py_BuildValue("NO", _null_to_none(self), obj);\n#0  meth_o (self=0x0, obj=[]) at ./Modules/_testcapimodule.c:1736\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_o of type object at remote 0x7fffe9cb6e88>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7f
>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_noargs' not found in 'Breakpoint 1 (meth_noargs) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, _null_to_none (obj=<module at remote 0x7fffe9d415b0>) at ./Modules/_testcapimodule.c:1715\n1715\t    if (obj == NULL) {\n#0  _null_to_none (obj=<module at remote 0x7fffe9d415b0>) at ./Modules/_testcapimodule.c:1715\n#1  meth_noargs (self=<module at remote 0x7fffe9d415b0>, ignored=<optimized out>) at ./Modules/_testcapimodule.c:1742\n#2  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_noargs of module object at remote 0x7fffe9d415b0>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#3  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#4  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#5  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#6  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#7  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#8  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.meth_noargs()\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#9  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\':
<type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab160>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#10 _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#12 pymain_run_python (exitcode=) at Modules/main.c:670\n#13 Py_RunMain () at Modules/main.c:760\n#14 pymain_main (args=) at Modules/main.c:790\n#15 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#16 __libc_start_call_main () from /lib64/libc.so.6\n#17 __libc_start_main_impl () from /lib64/libc.so.6\n#18 _start ()\n#3 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#3 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#3 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_misc.py", line 124, in test_up_then_down
            self.assertMultilineMatches(bt,
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
                                        r'''^.*
                                        ^^^^^^^
    ...<2 lines>...
    #[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    $''')
    ^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/util.py", line 286, in assertMultilineMatches
    self.fail(msg='%r did not match %r' % (actual, pattern))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'Breakpoint 1 at 0x5e05f9: file Python/bltinmodule.c, line 1311.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, builtin_id (self=<optimized out>, v=42) at Python/bltinmodule.c:1311\n1311\t    PyObject *id = PyLong_FromVoidPtr(v);\n#9 Frame 0x7ffff7bb1128, for file <string>, line 9, in bar (a=1, b=2, c=3)\n#9 Frame 0x7ffff7bb1098, for file <string>, line 6, in foo (a=1, b=2, c=3)\n#9 Frame 0x7ffff7bb1020, for file <string>, line 14, in <module> ()\nUnable to find an older python frame\n#2 Frame 0x7ffff7bb11c0, for file <string>, line 12, in baz (args=(1, 2, 3))\n' did not match '^.*\n#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \\(args=\\(1, 2, 3\\)\\)\n#[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>\n#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \\(args=\\(1, 2, 3\\)\\)\n$'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=0x0, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n1771\t    PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0  meth_fastcall_keywords (self=0x0, args=, nargs=0, kwargs=0x0) at ./Modules/_testcapimodule.c:1771\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall_keywords of type object at remote 0x7fffe9cb6e88>, args=, nargsf=0, kwnames=<unknown at remote 0x7fffe9c72860>) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#6  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#7  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.MethStatic().meth_fastcall_keywords()\\ndef bar():\\n    foo()\\nbar()\\
\'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab3a0>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d41610>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_noargs' not found in 'Breakpoint 1 (meth_noargs) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, _null_to_none (obj=0x0) at ./Modules/_testcapimodule.c:1715\n1715\t    if (obj == NULL) {\n#0  _null_to_none (obj=0x0) at ./Modules/_testcapimodule.c:1715\n#1  meth_noargs (self=0x0, ignored=<optimized out>) at ./Modules/_testcapimodule.c:1742\n#2  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_noargs of type object at remote 0x7fffe9cb6e88>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#3  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#4  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#5  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab280>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#6  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab280>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\
te 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab280>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#10 _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#12 pymain_run_python (exitcode=) at Modules/main.c:670\n#13 Py_RunMain () at Modules/main.c:760\n#14 pymain_main (args=) at Modules/main.c:790\n#15 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#16 __libc_start_call_main () from /lib64/libc.so.6\n#17 __libc_start_main_impl () from /lib64/libc.so.6\n#18 _start ()\n#3 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#3 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#3 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_fastcall' not found in 'Breakpoint 1 (meth_fastcall) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall (self=<type at remote 0x7fffe9cb6ce8>, args=, nargs=0) at ./Modules/_testcapimodule.c:1763\n1763\t        "NN", _null_to_none(self), _fastcall_to_tuple(args, nargs)\n#0  meth_fastcall (self=<type at remote 0x7fffe9cb6ce8>, args=, nargs=0) at ./Modules/_testcapimodule.c:1763\n#1  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_fastcall of type object at remote 0x7fffe9cb6ce8>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#2  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#3  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#4  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab280>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#5  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab280>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__
\'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab280>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#9  _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#10 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#11 pymain_run_python (exitcode=) at Modules/main.c:670\n#12 Py_RunMain () at Modules/main.c:760\n#13 pymain_main (args=) at Modules/main.c:790\n#14 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#15 __libc_start_call_main () from /lib64/libc.so.6\n#16 __libc_start_main_impl () from /lib64/libc.so.6\n#17 _start ()\n#2 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#2 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#2 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction.py", line 67, in check_pycfunction
    self.check(func_name, cmd)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_gdb/test_cfunction_full.py", line 32, in check
    self.assertRegex(gdb_output, regex)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: '#(1|2)\\ <built\\-in\\ method\\ meth_noargs' not found in 'Breakpoint 1 (meth_noargs) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, _null_to_none (obj=<type at remote 0x7fffe9cb6ce8>) at ./Modules/_testcapimodule.c:1715\n1715\t    if (obj == NULL) {\n#0  _null_to_none (obj=<type at remote 0x7fffe9cb6ce8>) at ./Modules/_testcapimodule.c:1715\n#1  meth_noargs (self=<type at remote 0x7fffe9cb6ce8>, ignored=<optimized out>) at ./Modules/_testcapimodule.c:1742\n#2  _PyObject_VectorcallTstate (tstate=<_PyRuntime+329808>, callable=<built-in method meth_noargs of type object at remote 0x7fffe9cb6ce8>, args=, nargsf=0, kwnames=0x0) at ./Include/internal/pycore_call.h:167\n#3  _PyEval_EvalFrameDefault (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at Python/generated_cases.c.h:1371\n#4  _PyEval_EvalFrame (tstate=<_PyRuntime+329808>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:116\n#5  _PyEval_Vector (tstate=<_PyRuntime+329808>, func=, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, args=, argcount=0, kwnames=0x0) at Python/ceval.c:1819\n#6  PyEval_EvalCode (co=<code at remote 0x7ffff7c039a0>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/ceval.c:746\n#7  run_eval_code_obj (tstate=<_PyRuntime+329808>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}) at Python/pythonrun.c:1318\n#8  run_mod (mod=<optimized out>, filename=\'<string>\', globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, arena=, interactive_src=\'\\nimport _testcapi\\ndef foo():\\n    _testcapi.MethClass.meth_noargs()\\ndef bar():\\n    foo()\\nbar()\\n\\n\', generate_new_source=0) at Python/pythonrun.c:1389\n#9  _PyRun_StringFlagsWithName (str=<optimized out>, name=\'<string>\', start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\
: <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0xaab220>, \'__spec__\': None, \'__builtins__\': <module at remote 0x7ffff7c8d8b0>, \'_testcapi\': <module at remote 0x7fffe9d415b0>, \'foo\': <function at remote 0x7fffe9d44590>, \'bar\': <function at remote 0x7fffe9d45910>}, flags=, generate_new_source=0) at Python/pythonrun.c:1216\n#10 _PyRun_SimpleStringFlagsWithName (command=<optimized out>, name=<optimized out>, flags=) at Python/pythonrun.c:548\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:253\n#12 pymain_run_python (exitcode=) at Modules/main.c:670\n#13 Py_RunMain () at Modules/main.c:760\n#14 pymain_main (args=) at Modules/main.c:790\n#15 Py_BytesMain (argc=<optimized out>, argv=) at Modules/main.c:814\n#16 __libc_start_call_main () from /lib64/libc.so.6\n#17 __libc_start_main_impl () from /lib64/libc.so.6\n#18 _start ()\n#3 Frame 0x7ffff7bb10e0, for file <string>, line 4, in foo ()\n#3 Frame 0x7ffff7bb1080, for file <string>, line 6, in bar ()\n#3 Frame 0x7ffff7bb1020, for file <string>, line 7, in <module> ()\n'

@markshannon markshannon deleted the gnu-stack-overflow-check branch February 27, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants