Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-36974: PEP 590#13185

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
encukou merged 9 commits intopython:masterfromjdemeyer:pep590
May 29, 2019
Merged

bpo-36974: PEP 590#13185

encukou merged 9 commits intopython:masterfromjdemeyer:pep590
May 29, 2019

Conversation

@jdemeyer
Copy link
Contributor

@jdemeyerjdemeyer commentedMay 8, 2019
edited
Loading

Implementation of PEP 590 by Mark Shannon and Jeroen Demeyer.

CC@encukou@markshannon

https://bugs.python.org/issue36974

@jdemeyerjdemeyer mentioned this pull requestMay 8, 2019
@jdemeyerjdemeyerforce-pushed thepep590 branch 17 times, most recently from025d6d4 to746c2afCompareMay 14, 2019 15:52
@jdemeyerjdemeyer changed the titlePEP 590bpo-36974: PEP 590May 21, 2019
@jdemeyerjdemeyerforce-pushed thepep590 branch 4 times, most recently from4ea6af5 toaa440ccCompareMay 21, 2019 13:55
@jdemeyerjdemeyerforce-pushed thepep590 branch 3 times, most recently fromd9a1bd8 toac4da56CompareMay 22, 2019 09:41
@encukou
Copy link
Member

I went through the code, and made a few small changes. Do they look OK to you?

@jdemeyer
Copy link
ContributorAuthor

jdemeyer commentedMay 29, 2019
edited
Loading

I don't agree with7536e69 for two reasons:

  1. I tried to usePy_EnterRecursiveCall exactly where the old code also did that. The old implementation of_PyObject_FastCallDict didn't callPy_EnterRecursiveCall in the fastcall case and I don't see why it should do that now.

  2. I want that_PyObject_FastCallDict behaves exactly the same as_PyObject_Vectorcall except for the way how keyword arguments are passed. And_PyObject_Vectorcall doesn't callPy_EnterRecursiveCall.

fromtypesimportMethodType
fromfunctoolsimportpartial

defvectorcall(func,args,kwargs=None):
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

If you want to set a default forkwargs, it should bekwargs={}.

deftest_vectorcall(self):
# Test a bunch of different ways to call objects:
# 1. normal call
# 2. vectorcall
Copy link
ContributorAuthor

@jdemeyerjdemeyerMay 29, 2019
edited
Loading

Choose a reason for hiding this comment

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

It would be good to fix this comment, as you're adding a new way of testing the call.

@jdemeyer
Copy link
ContributorAuthor

No further comments.

@encukou
Copy link
Member

encukou commentedMay 29, 2019 via email

I'm not entirely convinced on the recursivecall, but it's probably OK to leave out.I'm out for a couple of hours. Could you push a revert and your suggested changes to get the CI going?
On May 29, 2019 5:17:12 PM GMT+02:00, Jeroen Demeyer ***@***.***> wrote:No further comments.--You are receiving this because you were assigned.Reply to this email directly or view it on GitHub:#13185 (comment)
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

@jdemeyerjdemeyer reopened thisMay 29, 2019
@encukouencukou merged commitaacc77f intopython:masterMay 29, 2019
@jdemeyerjdemeyer deleted the pep590 branchMay 29, 2019 18:35
@bedevere-bot
Copy link

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

Hi! The buildbots390x SLES 3.x has failed when building commitaacc77f.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/all/#builders/16/builds/3055) and take a look at the build logs.
  4. Check if the failure is related to this commit (aacc77f) 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/all/#builders/16/builds/3055

Click to see traceback logs
From https://github.com/python/cpython * branch            master     -> FETCH_HEADReset branch 'master'Objects/obmalloc.c:1376:1: warning: ‘no_sanitize_thread’ attribute directive ignored [-Wattributes] { ^test_readline skipped -- No module named 'readline'GDB version 8.0:GNU gdb (GDB;SUSE Linux Enterprise12)8.0.1    Copyright (C)2017 Free Software Foundation, Inc.    License GPLv3+:GNUGPL version3or later<http://gnu.org/licenses/gpl.html>    Thisis free software: you are free to changeand redistribute it.    ThereisNOWARRANTY, to the extent permitted by law.  Type"show copying"and"show warranty"for details.    ThisGDB was configuredas"s390x-suse-linux".    Type"show configuration"for configuration details.    For bug reporting instructions, please see:<http://bugs.opensuse.org/>.    Find theGDB manualand other documentation resources online at:<http://www.gnu.org/software/gdb/documentation/>.    Forhelp,type"help".    Type"apropos word" to searchfor commands related to"word".test_NULL_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with NULL ob_type is handled gracefully ... oktest_NULL_ptr (test.test_gdb.PrettyPrintTests)Ensure that a NULL PyObject* is handled gracefully ... oktest_builtin_method (test.test_gdb.PrettyPrintTests) ... oktest_builtins_help (test.test_gdb.PrettyPrintTests)Ensure that the new-style class _Helper in site.py can be handled ... oktest_bytes (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of bytes ... oktest_corrupt_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... oktest_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_flags is handled ... oktest_corrupt_tp_name (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_name is handled ... oktest_dicts (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of dictionaries ... oktest_exceptions (test.test_gdb.PrettyPrintTests) ... oktest_frames (test.test_gdb.PrettyPrintTests) ... oktest_frozensets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of frozensets ... oktest_getting_backtrace (test.test_gdb.PrettyPrintTests) ... oktest_int (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of various int values ... oktest_lists (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of lists ... oktest_modern_class (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of new-style class instances ... oktest_selfreferential_dict (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a dict doesn't lead proxyval ... oktest_selfreferential_list (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a list doesn't lead proxyval ... oktest_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_sets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of sets ... oktest_singletons (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of True, False and None ... oktest_strings (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of unicode strings ... oktest_subclassing_list (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a list subclass ... oktest_subclassing_tuple (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a tuple subclass ... oktest_truncation (test.test_gdb.PrettyPrintTests)Verify that very long output is truncated ... oktest_tuples (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of tuples ... oktest_basic_command (test.test_gdb.PyListTests)Verify that the "py-list" command works ... oktest_one_abs_arg (test.test_gdb.PyListTests)Verify the "py-list" command with one absolute argument ... oktest_two_abs_args (test.test_gdb.PyListTests)Verify the "py-list" command with two absolute arguments ... oktest_down_at_bottom (test.test_gdb.StackNavigationTests)Verify handling of "py-down" at the bottom of the stack ... oktest_pyup_command (test.test_gdb.StackNavigationTests)Verify that the "py-up" command works ... oktest_up_at_top (test.test_gdb.StackNavigationTests)Verify handling of "py-up" at the top of the stack ... oktest_up_then_down (test.test_gdb.StackNavigationTests)Verify "py-up" followed by "py-down" ... oktest_bt (test.test_gdb.PyBtTests)Verify that the "py-bt" command works ... oktest_bt_full (test.test_gdb.PyBtTests)Verify that the "py-bt-full" command works ... oktest_gc (test.test_gdb.PyBtTests)Verify that "py-bt" indicates if a thread is garbage-collecting ... oktest_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances ... FAILtest_threads (test.test_gdb.PyBtTests)Verify that "py-bt" indicates threads that are waiting for the GIL ... skipped 'gdb cannot walk the frame object because the Program Counter is not present'test_wrapper_call (test.test_gdb.PyBtTests) ... oktest_basic_command (test.test_gdb.PyPrintTests)Verify that the "py-print" command works ... oktest_print_after_up (test.test_gdb.PyPrintTests) ... oktest_printing_builtin (test.test_gdb.PyPrintTests) ... oktest_printing_global (test.test_gdb.PyPrintTests) ... oktest_basic_command (test.test_gdb.PyLocalsTests) ... oktest_locals_after_up (test.test_gdb.PyLocalsTests) ... ok======================================================================FAIL:test_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances----------------------------------------------------------------------Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_gdb.py", line890, intest_pycfunctionself.assertIn('#2 <built-in method gmtime', gdb_output)AssertionError:'#2 <built-in method gmtime' not found in 'Breakpoint 1 at 0x11ea4a0: file ./Modules/timemodule.c, line 446.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, time_gmtime (self=<module at remote 0x3fffdddefb0>, args=(1,)) at ./Modules/timemodule.c:446\n446\t{\n#6 Frame 0x3fffdde8a50, for file <string>, line 3, in foo ()\n#12 Frame 0x145f2e0, for file <string>, line 5, in bar ()\n#18 Frame 0x145f0b0, for file <string>, line 6, in <module> ()\n'----------------------------------------------------------------------Ran 46 tests in 17.319sFAILED (failures=1, skipped=1)test test_gdb failedtest_devpoll skipped -- test works only on Solaris OS familytest_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to runtest_kqueue skipped -- test works only on BSDtest_ioctl skipped -- Unable to open /dev/ttytest_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'test_winsound skipped -- No module named 'winsound'test_sqlite skipped -- No module named '_sqlite3'test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_msilib skipped -- No module named '_msi'stty:'standard input': Inappropriate ioctl for devicetest_startfile skipped -- object <module 'os' from '/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/os.py'> has no attribute 'startfile'test_flock (__main__.FNTLEINTRTest) ... oktest_lockf (__main__.FNTLEINTRTest) ... oktest_read (__main__.OSEINTRTest) ... oktest_wait (__main__.OSEINTRTest) ... oktest_wait3 (__main__.OSEINTRTest) ... oktest_wait4 (__main__.OSEINTRTest) ... oktest_waitpid (__main__.OSEINTRTest) ... oktest_write (__main__.OSEINTRTest) ... oktest_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'test_epoll (__main__.SelectEINTRTest) ... oktest_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'test_poll (__main__.SelectEINTRTest) ... oktest_select (__main__.SelectEINTRTest) ... oktest_sigtimedwait (__main__.SignalEINTRTest) ... oktest_sigwaitinfo (__main__.SignalEINTRTest) ... oktest_accept (__main__.SocketEINTRTest) ... oktest_open (__main__.SocketEINTRTest) ... oktest_os_open (__main__.SocketEINTRTest) ... oktest_recv (__main__.SocketEINTRTest) ... oktest_recvmsg (__main__.SocketEINTRTest) ... oktest_send (__main__.SocketEINTRTest) ... oktest_sendall (__main__.SocketEINTRTest) ... oktest_sendmsg (__main__.SocketEINTRTest) ... oktest_sleep (__main__.TimeEINTRTest) ... ok----------------------------------------------------------------------Ran 24 tests in 6.454sOK (skipped=2)test_winconsoleio skipped -- test only relevant on win32test_winreg skipped -- No module named 'winreg'test test_gdb failedmake:*** [buildbottest] Error 2

@bedevere-bot
Copy link

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

Hi! The buildbots390x RHEL 3.x has failed when building commitaacc77f.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/all/#builders/21/builds/3076) and take a look at the build logs.
  4. Check if the failure is related to this commit (aacc77f) 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/all/#builders/21/builds/3076

Click to see traceback logs
From https://github.com/python/cpython * branch            master     -> FETCH_HEADReset branch 'master'Objects/obmalloc.c:1376:1: warning: ‘no_sanitize_thread’ attribute directive ignored [-Wattributes] { ^/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_s/usr/bin/ld:skipping incompatible /usr/local/lib/libgcc_s.so when searching for -lgcc_stest_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to runtest_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_flock (__main__.FNTLEINTRTest) ... oktest_lockf (__main__.FNTLEINTRTest) ... oktest_read (__main__.OSEINTRTest) ... oktest_wait (__main__.OSEINTRTest) ... oktest_wait3 (__main__.OSEINTRTest) ... oktest_wait4 (__main__.OSEINTRTest) ... oktest_waitpid (__main__.OSEINTRTest) ... oktest_write (__main__.OSEINTRTest) ... oktest_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'test_epoll (__main__.SelectEINTRTest) ... oktest_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'test_poll (__main__.SelectEINTRTest) ... oktest_select (__main__.SelectEINTRTest) ... oktest_sigtimedwait (__main__.SignalEINTRTest) ... oktest_sigwaitinfo (__main__.SignalEINTRTest) ... oktest_accept (__main__.SocketEINTRTest) ... oktest_open (__main__.SocketEINTRTest) ... oktest_os_open (__main__.SocketEINTRTest) ... oktest_recv (__main__.SocketEINTRTest) ... oktest_recvmsg (__main__.SocketEINTRTest) ... oktest_send (__main__.SocketEINTRTest) ... oktest_sendall (__main__.SocketEINTRTest) ... oktest_sendmsg (__main__.SocketEINTRTest) ... oktest_sleep (__main__.TimeEINTRTest) ... ok----------------------------------------------------------------------Ran 24 tests in 6.420sOK (skipped=2)stty:standard input: Inappropriate ioctl for deviceGDB version 7.6:GNU gdb (GDB) Red Hat Enterprise Linux7.6.1-110.el7    Copyright (C)2013 Free Software Foundation, Inc.    License GPLv3+:GNUGPL version3or later<http://gnu.org/licenses/gpl.html>    Thisis free software: you are free to changeand redistribute it.    ThereisNOWARRANTY, to the extent permitted by law.  Type"show copying"and"show warranty"for details.    ThisGDB was configuredas"s390x-redhat-linux-gnu".    For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>.test_NULL_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with NULL ob_type is handled gracefully ... oktest_NULL_ptr (test.test_gdb.PrettyPrintTests)Ensure that a NULL PyObject* is handled gracefully ... oktest_builtin_method (test.test_gdb.PrettyPrintTests) ... oktest_builtins_help (test.test_gdb.PrettyPrintTests)Ensure that the new-style class _Helper in site.py can be handled ... oktest_bytes (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of bytes ... oktest_corrupt_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... oktest_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_flags is handled ... oktest_corrupt_tp_name (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_name is handled ... oktest_dicts (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of dictionaries ... oktest_exceptions (test.test_gdb.PrettyPrintTests) ... oktest_frames (test.test_gdb.PrettyPrintTests) ... oktest_frozensets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of frozensets ... oktest_getting_backtrace (test.test_gdb.PrettyPrintTests) ... oktest_int (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of various int values ... oktest_lists (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of lists ... oktest_modern_class (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of new-style class instances ... oktest_selfreferential_dict (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a dict doesn't lead proxyval ... oktest_selfreferential_list (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a list doesn't lead proxyval ... oktest_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_sets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of sets ... oktest_singletons (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of True, False and None ... oktest_strings (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of unicode strings ... oktest_subclassing_list (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a list subclass ... oktest_subclassing_tuple (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a tuple subclass ... oktest_truncation (test.test_gdb.PrettyPrintTests)Verify that very long output is truncated ... oktest_tuples (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of tuples ... oktest_basic_command (test.test_gdb.PyListTests)Verify that the "py-list" command works ... oktest_one_abs_arg (test.test_gdb.PyListTests)Verify the "py-list" command with one absolute argument ... oktest_two_abs_args (test.test_gdb.PyListTests)Verify the "py-list" command with two absolute arguments ... oktest_down_at_bottom (test.test_gdb.StackNavigationTests)Verify handling of "py-down" at the bottom of the stack ... oktest_pyup_command (test.test_gdb.StackNavigationTests)Verify that the "py-up" command works ... oktest_up_at_top (test.test_gdb.StackNavigationTests)Verify handling of "py-up" at the top of the stack ... oktest_up_then_down (test.test_gdb.StackNavigationTests)Verify "py-up" followed by "py-down" ... oktest_bt (test.test_gdb.PyBtTests)Verify that the "py-bt" command works ... oktest_bt_full (test.test_gdb.PyBtTests)Verify that the "py-bt-full" command works ... oktest_gc (test.test_gdb.PyBtTests)Verify that "py-bt" indicates if a thread is garbage-collecting ... oktest_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances ... FAILtest_threads (test.test_gdb.PyBtTests)Verify that "py-bt" indicates threads that are waiting for the GIL ... oktest_wrapper_call (test.test_gdb.PyBtTests) ... oktest_basic_command (test.test_gdb.PyPrintTests)Verify that the "py-print" command works ... oktest_print_after_up (test.test_gdb.PyPrintTests) ... oktest_printing_builtin (test.test_gdb.PyPrintTests) ... oktest_printing_global (test.test_gdb.PyPrintTests) ... oktest_basic_command (test.test_gdb.PyLocalsTests) ... oktest_locals_after_up (test.test_gdb.PyLocalsTests) ... ok======================================================================FAIL:test_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances----------------------------------------------------------------------Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_gdb.py", line890, intest_pycfunctionself.assertIn('#2 <built-in method gmtime', gdb_output)AssertionError:'#2 <built-in method gmtime' not found in 'Breakpoint 1 at 0x801e18f0: file ./Modules/timemodule.c, line 446.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, time_gmtime (self=<module at remote 0x3fffde5de90>, args=(1,)) at ./Modules/timemodule.c:446\n446\t{\n#6 Frame 0x3fffde68a50, for file <string>, line 3, in foo ()\n#12 Frame 0x80458e60, for file <string>, line 5, in bar ()\n#18 Frame 0x80458c30, for file <string>, line 6, in <module> ()\n'----------------------------------------------------------------------Ran 46 tests in 17.796sFAILED (failures=1)test test_gdb failedtest_winconsoleio skipped -- test only relevant on win32test_kqueue skipped -- test works only on BSDtest_ioctl skipped -- Unable to open /dev/ttytest_winsound skipped -- No module named 'winsound'test_startfile skipped -- object <module 'os' from '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/os.py'> has no attribute 'startfile'test_devpoll skipped -- test works only on Solaris OS familytest_msilib skipped -- No module named '_msi'test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'test_winreg skipped -- No module named 'winreg'test test_gdb failedmake:*** [buildbottest] Error 2

@bedevere-bot
Copy link

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

Hi! The buildbotARMv7 Debian buster 3.x has failed when building commitaacc77f.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/all/#builders/176/builds/590) and take a look at the build logs.
  4. Check if the failure is related to this commit (aacc77f) 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/all/#builders/176/builds/590

Click to see traceback logs
From https://github.com/python/cpython * branch                  master     -> FETCH_HEADReset branch 'master'test_kqueue skipped -- test works only on BSDtest_winreg skipped -- No module named 'winreg'test_flock (__main__.FNTLEINTRTest) ... oktest_lockf (__main__.FNTLEINTRTest) ... oktest_read (__main__.OSEINTRTest) ... oktest_wait (__main__.OSEINTRTest) ... oktest_wait3 (__main__.OSEINTRTest) ... oktest_wait4 (__main__.OSEINTRTest) ... oktest_waitpid (__main__.OSEINTRTest) ... oktest_write (__main__.OSEINTRTest) ... oktest_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'test_epoll (__main__.SelectEINTRTest) ... oktest_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'test_poll (__main__.SelectEINTRTest) ... oktest_select (__main__.SelectEINTRTest) ... oktest_sigtimedwait (__main__.SignalEINTRTest) ... oktest_sigwaitinfo (__main__.SignalEINTRTest) ... oktest_accept (__main__.SocketEINTRTest) ... oktest_open (__main__.SocketEINTRTest) ... oktest_os_open (__main__.SocketEINTRTest) ... oktest_recv (__main__.SocketEINTRTest) ... oktest_recvmsg (__main__.SocketEINTRTest) ... oktest_send (__main__.SocketEINTRTest) ... oktest_sendall (__main__.SocketEINTRTest) ... oktest_sendmsg (__main__.SocketEINTRTest) ... oktest_sleep (__main__.TimeEINTRTest) ... ok----------------------------------------------------------------------Ran 24 tests in 9.512sOK (skipped=2)test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_devpoll skipped -- test works only on Solaris OS familytest_msilib skipped -- No module named '_msi'test_ioctl skipped -- Unable to open /dev/ttytest_startfile skipped -- object <module 'os' from '/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/os.py'> has no attribute 'startfile'test_winsound skipped -- No module named 'winsound'GDB version 8.2:GNU gdb (Debian8.2.1-2)8.2.1    Copyright (C)2018 Free Software Foundation, Inc.    License GPLv3+:GNUGPL version3or later<http://gnu.org/licenses/gpl.html>    Thisis free software: you are free to changeand redistribute it.    ThereisNOWARRANTY, to the extent permitted by law.test_NULL_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with NULL ob_type is handled gracefully ... oktest_NULL_ptr (test.test_gdb.PrettyPrintTests)Ensure that a NULL PyObject* is handled gracefully ... oktest_builtin_method (test.test_gdb.PrettyPrintTests) ... oktest_builtins_help (test.test_gdb.PrettyPrintTests)Ensure that the new-style class _Helper in site.py can be handled ... oktest_bytes (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of bytes ... oktest_corrupt_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... oktest_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_flags is handled ... oktest_corrupt_tp_name (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_name is handled ... oktest_dicts (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of dictionaries ... oktest_exceptions (test.test_gdb.PrettyPrintTests) ... oktest_frames (test.test_gdb.PrettyPrintTests) ... oktest_frozensets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of frozensets ... oktest_getting_backtrace (test.test_gdb.PrettyPrintTests) ... oktest_int (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of various int values ... oktest_lists (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of lists ... oktest_modern_class (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of new-style class instances ... oktest_selfreferential_dict (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a dict doesn't lead proxyval ... oktest_selfreferential_list (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a list doesn't lead proxyval ... oktest_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_sets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of sets ... oktest_singletons (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of True, False and None ... oktest_strings (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of unicode strings ... oktest_subclassing_list (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a list subclass ... oktest_subclassing_tuple (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a tuple subclass ... oktest_truncation (test.test_gdb.PrettyPrintTests)Verify that very long output is truncated ... oktest_tuples (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of tuples ... oktest_basic_command (test.test_gdb.PyListTests)Verify that the "py-list" command works ... oktest_one_abs_arg (test.test_gdb.PyListTests)Verify the "py-list" command with one absolute argument ... oktest_two_abs_args (test.test_gdb.PyListTests)Verify the "py-list" command with two absolute arguments ... oktest_down_at_bottom (test.test_gdb.StackNavigationTests)Verify handling of "py-down" at the bottom of the stack ... oktest_pyup_command (test.test_gdb.StackNavigationTests)Verify that the "py-up" command works ... oktest_up_at_top (test.test_gdb.StackNavigationTests)Verify handling of "py-up" at the top of the stack ... oktest_up_then_down (test.test_gdb.StackNavigationTests)Verify "py-up" followed by "py-down" ... oktest_bt (test.test_gdb.PyBtTests)Verify that the "py-bt" command works ... oktest_bt_full (test.test_gdb.PyBtTests)Verify that the "py-bt-full" command works ... oktest_gc (test.test_gdb.PyBtTests)Verify that "py-bt" indicates if a thread is garbage-collecting ... oktest_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances ... FAILtest_threads (test.test_gdb.PyBtTests)Verify that "py-bt" indicates threads that are waiting for the GIL ... oktest_wrapper_call (test.test_gdb.PyBtTests) ... oktest_basic_command (test.test_gdb.PyPrintTests)Verify that the "py-print" command works ... oktest_print_after_up (test.test_gdb.PyPrintTests) ... oktest_printing_builtin (test.test_gdb.PyPrintTests) ... oktest_printing_global (test.test_gdb.PyPrintTests) ... oktest_basic_command (test.test_gdb.PyLocalsTests) ... oktest_locals_after_up (test.test_gdb.PyLocalsTests) ... ok======================================================================FAIL:test_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances----------------------------------------------------------------------Traceback (most recent call last):  File"/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/test_gdb.py", line890, intest_pycfunctionself.assertIn('#2 <built-in method gmtime', gdb_output)AssertionError:'#2 <built-in method gmtime' not found in 'Breakpoint 1 at 0x14cba8: file ./Modules/timemodule.c, line 446.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".\n\nBreakpoint 1, time_gmtime (self=<module at remote 0xb68c1060>, args=(1,)) at ./Modules/timemodule.c:446\n446\t{\n#6 Frame 0xb686d030, for file <string>, line 3, in foo ()\n#12 Frame 0xb686c030, for file <string>, line 5, in bar ()\n#18 Frame 0xb6903df8, for file <string>, line 6, in <module> ()\n'----------------------------------------------------------------------Ran 46 tests in 233.007sFAILED (failures=1)test test_gdb failedBDB0004 fop_read_meta: @test_24116_tmp_ndbm.db: unexpected file type or formattest_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]stty:'standard input': Inappropriate ioctl for devicetest_winconsoleio skipped -- test only relevant on win32BDB0111 DB->del: attempt to modify a read-only databaseBDB0111 DB->del: attempt to modify a read-only databaseBDB0111 DB->put: attempt to modify a read-only databasetest_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to runtest_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_8f013359': [Errno 2] No such file or directory: '//psm_8f013359'  warnings.warn('resource_tracker: %r: %s' % (name, e))/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_6d3a3e1e': [Errno 2] No such file or directory: '//psm_6d3a3e1e'  warnings.warn('resource_tracker: %r: %s' % (name, e))Timeout (0:15:00)!Thread 0xb493f460 (most recent call first):  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/connection.py", line 379 in _recv  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/connection.py", line 414 in _recv_bytes  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/connection.py", line 250 in recv  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/pool.py", line 599 in _handle_results  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/threading.py", line 865 in run  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/threading.py", line 923 in _bootstrap_inner  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/threading.py", line 885 in _bootstrapThread 0xb6fb8010 (most recent call first):  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/pool.py", line 674 in _help_stuff_finish  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/pool.py", line 689 in _terminate_pool  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/util.py", line 189 in __call__  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/pool.py", line 656 in terminate  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/_test_multiprocessing.py", line 2522 in test_terminate  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/case.py", line 652 in _callTestMethod  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/case.py", line 695 in run  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/case.py", line 755 in __call__  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/suite.py", line 122 in run  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/suite.py", line 84 in __call__  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/suite.py", line 122 in run  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/suite.py", line 84 in __call__  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/suite.py", line 122 in run  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/suite.py", line 84 in __call__  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/unittest/runner.py", line 176 in run  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/support/__init__.py", line 1984 in _run_suite  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/support/__init__.py", line 2080 in run_unittest  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/runtest.py", line 203 in _test_module  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/runtest.py", line 228 in _runtest_inner2  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/runtest.py", line 264 in _runtest_inner  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/runtest.py", line 135 in _runtest  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/runtest.py", line 187 in runtest  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/runtest_mp.py", line 66 in run_tests_worker  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/main.py", line 611 in _main  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/main.py", line 588 in main  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/libregrtest/main.py", line 663 in main  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/regrtest.py", line 46 in _main  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/test/regrtest.py", line 50 in <module>  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/runpy.py", line 85 in _run_code  File "/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/runpy.py", line 192 in _run_module_as_main/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d 'test test_gdb failedmake:*** [Makefile:1150: buildbottest] Error 2/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/ssd/buildbot/buildarea/3.x.gps-ubuntu-exynos5-armv7l/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_495cd2f5': [Errno 2] No such file or directory: '//psm_495cd2f5'  warnings.warn('resource_tracker: %r: %s' % (name, e))

@encukou
Copy link
Member

Oh!gdb integration is broken, since it seems to look for_PyCFunction_FastCallDict/_PyCFunction_FastCallKeywords by name.
I'm looking into it.

@bedevere-bot
Copy link

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

Hi! The buildbotPPC64LE Fedora 3.x has failed when building commitaacc77f.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/all/#builders/85/builds/2883) and take a look at the build logs.
  4. Check if the failure is related to this commit (aacc77f) 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/all/#builders/85/builds/2883

Click to see traceback logs
From https://github.com/python/cpython * branch            master     -> FETCH_HEADReset branch 'master'Objects/obmalloc.c:1376:1: warning: ‘no_sanitize_thread’ attribute directive ignored [-Wattributes] { ^test_devpoll skipped -- test works only on Solaris OS familytest_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_winconsoleio skipped -- test only relevant on win32test_msilib skipped -- No module named '_msi'test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'stty:standard input: Inappropriate ioctl for deviceGDB version 7.6:GNU gdb (GDB) Red Hat Enterprise Linux7.6.1-114.el7    Copyright (C)2013 Free Software Foundation, Inc.    License GPLv3+:GNUGPL version3or later<http://gnu.org/licenses/gpl.html>    Thisis free software: you are free to changeand redistribute it.    ThereisNOWARRANTY, to the extent permitted by law.  Type"show copying"and"show warranty"for details.    ThisGDB was configuredas"ppc64le-redhat-linux-gnu".    For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>.test_NULL_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with NULL ob_type is handled gracefully ... oktest_NULL_ptr (test.test_gdb.PrettyPrintTests)Ensure that a NULL PyObject* is handled gracefully ... oktest_builtin_method (test.test_gdb.PrettyPrintTests) ... oktest_builtins_help (test.test_gdb.PrettyPrintTests)Ensure that the new-style class _Helper in site.py can be handled ... oktest_bytes (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of bytes ... oktest_corrupt_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... oktest_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_flags is handled ... oktest_corrupt_tp_name (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_name is handled ... oktest_dicts (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of dictionaries ... oktest_exceptions (test.test_gdb.PrettyPrintTests) ... oktest_frames (test.test_gdb.PrettyPrintTests) ... oktest_frozensets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of frozensets ... oktest_getting_backtrace (test.test_gdb.PrettyPrintTests) ... oktest_int (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of various int values ... oktest_lists (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of lists ... oktest_modern_class (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of new-style class instances ... oktest_selfreferential_dict (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a dict doesn't lead proxyval ... oktest_selfreferential_list (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a list doesn't lead proxyval ... oktest_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_sets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of sets ... oktest_singletons (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of True, False and None ... oktest_strings (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of unicode strings ... oktest_subclassing_list (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a list subclass ... oktest_subclassing_tuple (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a tuple subclass ... oktest_truncation (test.test_gdb.PrettyPrintTests)Verify that very long output is truncated ... oktest_tuples (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of tuples ... oktest_basic_command (test.test_gdb.PyListTests)Verify that the "py-list" command works ... oktest_one_abs_arg (test.test_gdb.PyListTests)Verify the "py-list" command with one absolute argument ... oktest_two_abs_args (test.test_gdb.PyListTests)Verify the "py-list" command with two absolute arguments ... oktest_down_at_bottom (test.test_gdb.StackNavigationTests)Verify handling of "py-down" at the bottom of the stack ... oktest_pyup_command (test.test_gdb.StackNavigationTests)Verify that the "py-up" command works ... oktest_up_at_top (test.test_gdb.StackNavigationTests)Verify handling of "py-up" at the top of the stack ... oktest_up_then_down (test.test_gdb.StackNavigationTests)Verify "py-up" followed by "py-down" ... oktest_bt (test.test_gdb.PyBtTests)Verify that the "py-bt" command works ... oktest_bt_full (test.test_gdb.PyBtTests)Verify that the "py-bt-full" command works ... oktest_gc (test.test_gdb.PyBtTests)Verify that "py-bt" indicates if a thread is garbage-collecting ... oktest_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances ... FAILtest_threads (test.test_gdb.PyBtTests)Verify that "py-bt" indicates threads that are waiting for the GIL ... oktest_wrapper_call (test.test_gdb.PyBtTests) ... oktest_basic_command (test.test_gdb.PyPrintTests)Verify that the "py-print" command works ... oktest_print_after_up (test.test_gdb.PyPrintTests) ... oktest_printing_builtin (test.test_gdb.PyPrintTests) ... oktest_printing_global (test.test_gdb.PyPrintTests) ... oktest_basic_command (test.test_gdb.PyLocalsTests) ... oktest_locals_after_up (test.test_gdb.PyLocalsTests) ... ok======================================================================FAIL:test_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances----------------------------------------------------------------------Traceback (most recent call last):  File"/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/test/test_gdb.py", line890, intest_pycfunctionself.assertIn('#2 <built-in method gmtime', gdb_output)AssertionError:'#2 <built-in method gmtime' not found in 'Breakpoint 1 at 0x10229d0c: file ./Modules/timemodule.c, line 446.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, time_gmtime (self=<module at remote 0x3fffb11ddef0>, args=(1,)) at ./Modules/timemodule.c:446\n446\t{\n#6 Frame 0x3fffb11e8a50, for file <string>, line 3, in foo ()\n#12 Frame 0x104877d0, for file <string>, line 5, in bar ()\n#18 Frame 0x104875a0, for file <string>, line 6, in <module> ()\n'----------------------------------------------------------------------Ran 46 tests in 41.027sFAILED (failures=1)test test_gdb failedtest_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to runtest_flock (__main__.FNTLEINTRTest) ... oktest_lockf (__main__.FNTLEINTRTest) ... oktest_read (__main__.OSEINTRTest) ... oktest_wait (__main__.OSEINTRTest) ... oktest_wait3 (__main__.OSEINTRTest) ... oktest_wait4 (__main__.OSEINTRTest) ... oktest_waitpid (__main__.OSEINTRTest) ... oktest_write (__main__.OSEINTRTest) ... oktest_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'test_epoll (__main__.SelectEINTRTest) ... oktest_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'test_poll (__main__.SelectEINTRTest) ... oktest_select (__main__.SelectEINTRTest) ... oktest_sigtimedwait (__main__.SignalEINTRTest) ... oktest_sigwaitinfo (__main__.SignalEINTRTest) ... oktest_accept (__main__.SocketEINTRTest) ... oktest_open (__main__.SocketEINTRTest) ... oktest_os_open (__main__.SocketEINTRTest) ... oktest_recv (__main__.SocketEINTRTest) ... oktest_recvmsg (__main__.SocketEINTRTest) ... oktest_send (__main__.SocketEINTRTest) ... oktest_sendall (__main__.SocketEINTRTest) ... oktest_sendmsg (__main__.SocketEINTRTest) ... oktest_sleep (__main__.TimeEINTRTest) ... ok----------------------------------------------------------------------Ran 24 tests in 7.176sOK (skipped=2)test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_77ba995b': [Errno 2] No such file or directory: '//psm_77ba995b'  warnings.warn('resource_tracker: %r: %s' % (name, e))test_ioctl skipped -- Unable to open /dev/ttytest_startfile skipped -- object <module 'os' from '/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/os.py'> has no attribute 'startfile'test_winreg skipped -- No module named 'winreg'test_winsound skipped -- No module named 'winsound'test_kqueue skipped -- test works only on BSD/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_f5f96dcd': [Errno 2] No such file or directory: '//psm_f5f96dcd'  warnings.warn('resource_tracker: %r: %s' % (name, e))test test_gdb failedmake:*** [buildbottest] Error 2

@bedevere-bot
Copy link

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

Hi! The buildbots390x Debian 3.x has failed when building commitaacc77f.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/all/#builders/13/builds/3087) and take a look at the build logs.
  4. Check if the failure is related to this commit (aacc77f) 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/all/#builders/13/builds/3087

Click to see traceback logs
From https://github.com/python/cpython * branch                  master     -> FETCH_HEADReset branch 'master'test_kqueue skipped -- test works only on BSDtest_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to runtest_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'test_flock (__main__.FNTLEINTRTest) ... oktest_lockf (__main__.FNTLEINTRTest) ... oktest_read (__main__.OSEINTRTest) ... oktest_wait (__main__.OSEINTRTest) ... oktest_wait3 (__main__.OSEINTRTest) ... oktest_wait4 (__main__.OSEINTRTest) ... oktest_waitpid (__main__.OSEINTRTest) ... oktest_write (__main__.OSEINTRTest) ... oktest_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'test_epoll (__main__.SelectEINTRTest) ... oktest_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'test_poll (__main__.SelectEINTRTest) ... oktest_select (__main__.SelectEINTRTest) ... oktest_sigtimedwait (__main__.SignalEINTRTest) ... oktest_sigwaitinfo (__main__.SignalEINTRTest) ... oktest_accept (__main__.SocketEINTRTest) ... oktest_open (__main__.SocketEINTRTest) ... oktest_os_open (__main__.SocketEINTRTest) ... oktest_recv (__main__.SocketEINTRTest) ... oktest_recvmsg (__main__.SocketEINTRTest) ... oktest_send (__main__.SocketEINTRTest) ... oktest_sendall (__main__.SocketEINTRTest) ... oktest_sendmsg (__main__.SocketEINTRTest) ... oktest_sleep (__main__.TimeEINTRTest) ... ok----------------------------------------------------------------------Ran 24 tests in 7.692sOK (skipped=2)/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_6d623c32': [Errno 2] No such file or directory: '//psm_6d623c32'  warnings.warn('resource_tracker: %r: %s' % (name, e))stty:'standard input': Inappropriate ioctl for device/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown  warnings.warn('resource_tracker: There appear to be %d '/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_6d2e70d9': [Errno 2] No such file or directory: '//psm_6d2e70d9'  warnings.warn('resource_tracker: %r: %s' % (name, e))test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_msilib skipped -- No module named '_msi'test_startfile skipped -- object <module 'os' from '/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/os.py'> has no attribute 'startfile'test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]test_ioctl skipped -- Unable to open /dev/ttytest_devpoll skipped -- test works only on Solaris OS familytest_winsound skipped -- No module named 'winsound'test_winconsoleio skipped -- test only relevant on win32test_winreg skipped -- No module named 'winreg'GDB version 7.12:GNU gdb (Debian7.12-6)7.12.0.20161007-git    Copyright (C)2016 Free Software Foundation, Inc.    License GPLv3+:GNUGPL version3or later<http://gnu.org/licenses/gpl.html>    Thisis free software: you are free to changeand redistribute it.    ThereisNOWARRANTY, to the extent permitted by law.  Type"show copying"and"show warranty"for details.    ThisGDB was configuredas"s390x-linux-gnu".    Type"show configuration"for configuration details.    For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>.    Find theGDB manualand other documentation resources online at:<http://www.gnu.org/software/gdb/documentation/>.    Forhelp,type"help".    Type"apropos word" to searchfor commands related to"word".test_NULL_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with NULL ob_type is handled gracefully ... oktest_NULL_ptr (test.test_gdb.PrettyPrintTests)Ensure that a NULL PyObject* is handled gracefully ... oktest_builtin_method (test.test_gdb.PrettyPrintTests) ... oktest_builtins_help (test.test_gdb.PrettyPrintTests)Ensure that the new-style class _Helper in site.py can be handled ... oktest_bytes (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of bytes ... oktest_corrupt_ob_type (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... oktest_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_flags is handled ... oktest_corrupt_tp_name (test.test_gdb.PrettyPrintTests)Ensure that a PyObject* with a type with corrupt tp_name is handled ... oktest_dicts (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of dictionaries ... oktest_exceptions (test.test_gdb.PrettyPrintTests) ... oktest_frames (test.test_gdb.PrettyPrintTests) ... oktest_frozensets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of frozensets ... oktest_getting_backtrace (test.test_gdb.PrettyPrintTests) ... oktest_int (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of various int values ... oktest_lists (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of lists ... oktest_modern_class (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of new-style class instances ... oktest_selfreferential_dict (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a dict doesn't lead proxyval ... oktest_selfreferential_list (test.test_gdb.PrettyPrintTests)Ensure that a reference loop involving a list doesn't lead proxyval ... oktest_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... oktest_sets (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of sets ... oktest_singletons (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of True, False and None ... oktest_strings (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of unicode strings ... oktest_subclassing_list (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a list subclass ... oktest_subclassing_tuple (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of an instance of a tuple subclass ... oktest_truncation (test.test_gdb.PrettyPrintTests)Verify that very long output is truncated ... oktest_tuples (test.test_gdb.PrettyPrintTests)Verify the pretty-printing of tuples ... oktest_basic_command (test.test_gdb.PyListTests)Verify that the "py-list" command works ... oktest_one_abs_arg (test.test_gdb.PyListTests)Verify the "py-list" command with one absolute argument ... oktest_two_abs_args (test.test_gdb.PyListTests)Verify the "py-list" command with two absolute arguments ... oktest_down_at_bottom (test.test_gdb.StackNavigationTests)Verify handling of "py-down" at the bottom of the stack ... oktest_pyup_command (test.test_gdb.StackNavigationTests)Verify that the "py-up" command works ... oktest_up_at_top (test.test_gdb.StackNavigationTests)Verify handling of "py-up" at the top of the stack ... oktest_up_then_down (test.test_gdb.StackNavigationTests)Verify "py-up" followed by "py-down" ... oktest_bt (test.test_gdb.PyBtTests)Verify that the "py-bt" command works ... oktest_bt_full (test.test_gdb.PyBtTests)Verify that the "py-bt-full" command works ... oktest_gc (test.test_gdb.PyBtTests)Verify that "py-bt" indicates if a thread is garbage-collecting ... oktest_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances ... FAILtest_threads (test.test_gdb.PyBtTests)Verify that "py-bt" indicates threads that are waiting for the GIL ... oktest_wrapper_call (test.test_gdb.PyBtTests) ... oktest_basic_command (test.test_gdb.PyPrintTests)Verify that the "py-print" command works ... oktest_print_after_up (test.test_gdb.PyPrintTests) ... oktest_printing_builtin (test.test_gdb.PyPrintTests) ... oktest_printing_global (test.test_gdb.PyPrintTests) ... oktest_basic_command (test.test_gdb.PyLocalsTests) ... oktest_locals_after_up (test.test_gdb.PyLocalsTests) ... ok======================================================================FAIL:test_pycfunction (test.test_gdb.PyBtTests)Verify that "py-bt" displays invocations of PyCFunction instances----------------------------------------------------------------------Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_gdb.py", line890, intest_pycfunctionself.assertIn('#2 <built-in method gmtime', gdb_output)AssertionError:'#2 <built-in method gmtime' not found in 'Breakpoint 1 at 0x22e420: file ./Modules/timemodule.c, line 446.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".\n\nBreakpoint 1, time_gmtime (self=<module at remote 0x3fffde5def0>, args=(1,)) at ./Modules/timemodule.c:446\n446\t{\n#6 Frame 0x3fffde67a50, for file <string>, line 3, in foo ()\n#12 Frame 0x1004a7e80, for file <string>, line 5, in bar ()\n#18 Frame 0x1004a7c50, for file <string>, line 6, in <module> ()\n'----------------------------------------------------------------------Ran 46 tests in 66.779sFAILED (failures=1)test test_gdb failedtest test_gdb failedmake:*** [buildbottest] Error 2

@encukou
Copy link
Member

All buildbots are green now.

Thank you,@jdemeyer and@markshannon, for putting this together!
There are follow-up PRs linked from the issue. Not sure if I can get them into Python 3.8, unfortunately – but the main part, the external API, is there.

Docs should come in early beta.

@jdemeyer
Copy link
ContributorAuthor

Petr, thank you for reviewing and merging and in particular fixing the buildbot failure.

About follow-ups:

The others are less important and can wait.

DinoV pushed a commit to DinoV/cpython that referenced this pull requestJan 14, 2020
Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>Co-authored-by: Mark Shannon <mark@hotpy.org>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@encukouencukouencukou approved these changes

@1st11st1Awaiting requested review from 1st1

@asvetlovasvetlovAwaiting requested review from asvetlov

@rhettingerrhettingerAwaiting requested review from rhettinger

Assignees

@encukouencukou

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@jdemeyer@encukou@bedevere-bot@the-knights-who-say-ni@markshannon

[8]ページ先頭

©2009-2025 Movatter.jp