Skip to content

dump readable opcode names in flowgraph debug utility #109392

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

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Conversation

carljm
Copy link
Member

@carljm carljm commented Sep 14, 2023

The main issue I have with these debug dump utilities in flowgraph.c is that they only dump numeric codes for opcodes, not names, which makes it much more painstaking to understand the dumps.

But this is easily fixable! With this PR, the human-readable name for each opcode is also given.

Sample output:

-1: [EH=0 CLD=0 WRM=1 NO_FT=0 0x7ffff7c38a60] used: 4, depth: 0,
  [00] line: 42, opcode: 149 (RESUME) arg: 0
  [01] line: 57, opcode: 85 (LOAD_FAST) arg: 1
  [02] line: 57, opcode: 40 (TO_BOOL)
  [03] line: 57, opcode: 97 (POP_JUMP_IF_FALSE) target: 0x7ffff7c38b80 [1] jump
-1: [EH=0 CLD=0 WRM=1 NO_FT=0 0x7ffff7c38ac0] used: 6, depth: 0,
  [00] line: 57, opcode: 91 (LOAD_GLOBAL) arg: 1
  [01] line: 57, opcode: 85 (LOAD_FAST) arg: 1
  [02] line: 57, opcode: 91 (LOAD_GLOBAL) arg: 2
  [03] line: 57, opcode: 53 (CALL) arg: 2
  [04] line: 57, opcode: 40 (TO_BOOL)
  [05] line: 57, opcode: 100 (POP_JUMP_IF_TRUE) target: 0x7ffff7c38b80 [1] jump
-1: [EH=0 CLD=0 WRM=1 NO_FT=1 0x7ffff7c38b20] used: 4, depth: 0,
  [00] line: 58, opcode: 91 (LOAD_GLOBAL) arg: 5
  [01] line: 58, opcode: 83 (LOAD_CONST) arg: 1
  [02] line: 58, opcode: 53 (CALL) arg: 1
  [03] line: 58, opcode: 101 (RAISE_VARARGS) arg: 1
1: [EH=0 CLD=0 WRM=1 NO_FT=0 0x7ffff7c38b80] used: 2, depth: 0,
  [00] line: 63, opcode: 85 (LOAD_FAST) arg: 1
  [01] line: 63, opcode: 99 (POP_JUMP_IF_NOT_NONE) target: 0x7ffff7c38c40 [3] jump
-1: [EH=0 CLD=0 WRM=1 NO_FT=1 0x7ffff7c38be0] used: 4, depth: 0, return
  [00] line: 64, opcode: 83 (LOAD_CONST) arg: 3
  [01] line: 64, opcode: 85 (LOAD_FAST) arg: 0
  [02] line: 64, opcode: 108 (STORE_ATTR) arg: 3
  [03] line: 64, opcode: 103 (RETURN_CONST) arg: 2
3: [EH=0 CLD=0 WRM=1 NO_FT=0 0x7ffff7c38c40] used: 5, depth: 0,
  [00] line: 66, opcode: 83 (LOAD_CONST) arg: 4
  [01] line: 66, opcode: 85 (LOAD_FAST) arg: 0
  [02] line: 66, opcode: 108 (STORE_ATTR) arg: 3
  [03] line: 67, opcode: 88 (LOAD_FAST_LOAD_FAST) arg: 16
  [04] line: 67, opcode: 108 (STORE_ATTR) arg: 4
2: [EH=0 CLD=0 WRM=1 NO_FT=1 0x7ffff7c38ca0] used: 1, depth: 0, return
  [00] line: 67, opcode: 103 (RETURN_CONST) arg: 2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@carljm carljm changed the title improve flowgraph debug utility dump readable opcode names in flowgraph debug utility Sep 14, 2023
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
@carljm carljm enabled auto-merge (squash) September 14, 2023 13:56
@carljm carljm merged commit 1ce9ea0 into python:main Sep 14, 2023
@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 3.x has failed when building commit 1ce9ea0.

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/all/#builders/509/builds/4912) and take a look at the build logs.
  4. Check if the failure is related to this commit (1ce9ea0) 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/509/builds/4912

Failed tests:

  • test_tools

Failed subtests:

  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/test/test_tools/test_freeze.py", line 28, in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Tools/freeze/test/freeze.py", line 146, in prepare
    copy_source_tree(srcdir, SRCDIR)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree
    shutil.copytree(oldroot, newroot, ignore=ignore_non_src)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/shutil.py", line 588, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/Lib/shutil.py", line 542, in _copytree
    raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_2692710æ/@test_2692710_tmpæ2', '/tmp/test_python_4rygdtqg/tmpyos2n8oy/cpython/build/test_python_2692710æ/@test_2692710_tmpæ2', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_2692710æ/@test_2692710_tmpæ2'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_2692821æ', '/tmp/test_python_4rygdtqg/tmpyos2n8oy/cpython/build/test_python_2692821æ', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_2692821æ'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_2692825æ', '/tmp/test_python_4rygdtqg/tmpyos2n8oy/cpython/build/test_python_2692825æ', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z/build/build/test_python_2692825æ'")]

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL7 LTO 3.x has failed when building commit 1ce9ea0.

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/all/#builders/402/builds/5391) and take a look at the build logs.
  4. Check if the failure is related to this commit (1ce9ea0) 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/402/builds/5391

Failed tests:

  • test_tools

Failed subtests:

  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_tools/test_freeze.py", line 28, in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Tools/freeze/test/freeze.py", line 146, in prepare
    copy_source_tree(srcdir, SRCDIR)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree
    shutil.copytree(oldroot, newroot, ignore=ignore_non_src)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/shutil.py", line 588, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/shutil.py", line 542, in _copytree
    raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirA/linkC/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirA/linkC/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 40] Too many levels of symbolic links: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirA/linkC/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 40] Too many levels of symbolic links: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD/linkD'"), (<DirEntry 'linkD'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB/linkD'"), (<DirEntry 'dirB'>, '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirB', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirB'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirC', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirC', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirC'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirE', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/dirE', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/dirE'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/fileA', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/fileA', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/fileA'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/linkA', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/linkA', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/linkA'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/brokenLink', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/brokenLink', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/brokenLink'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/linkB', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/linkB', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/linkB'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/brokenLinkLoop', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/brokenLinkLoop', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/brokenLinkLoop'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/deep', '/tmp/test_python_4sdc6qed/tmpffhcjigf/cpython/build/test_python_31696æ/@test_31696_tmpæ/deep', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/build/test_python_31696æ/@test_31696_tmpæ/deep'")]

@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora Clang 3.x has failed when building commit 1ce9ea0.

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/all/#builders/3/builds/4610) and take a look at the build logs.
  4. Check if the failure is related to this commit (1ce9ea0) 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/3/builds/4610

Failed tests:

  • test.test_asyncio.test_unix_events

Failed subtests:

  • test_fork_signal_handling - test.test_asyncio.test_unix_events.TestFork.test_fork_signal_handling

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/unittest/async_case.py", line 117, in _callMaybeAsync
    return self._asyncioTestContext.run(func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/support/hashlib_helper.py", line 49, in wrapper
    return func_or_class(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/test_asyncio/test_unix_events.py", line 1937, in test_fork_signal_handling
    self.assertTrue(child_handled.is_set())
AssertionError: False is not true

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 LTO 3.x has failed when building commit 1ce9ea0.

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/all/#builders/567/builds/4898) and take a look at the build logs.
  4. Check if the failure is related to this commit (1ce9ea0) 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/567/builds/4898

Failed tests:

  • test.test_asyncio.test_subprocess

Failed subtests:

  • test_subprocess_consistent_callbacks - test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_consistent_callbacks

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto/build/Lib/test/test_asyncio/test_subprocess.py", line 788, in test_subprocess_consistent_callbacks
    self.loop.run_until_complete(main())
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto/build/Lib/asyncio/base_events.py", line 664, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto/build/Lib/test/test_asyncio/test_subprocess.py", line 780, in main
    self.assertEqual(events, [
AssertionError: Lists differ: ['process_exited', ('pipe_data_received', 1, b'stdout')] != [('pipe_data_received', 1, b'stdout'), ('p[95 chars]ted']


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_7cde8d1f'

@bedevere-bot
Copy link

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

Hi! The buildbot PPC64LE Fedora Stable 3.x has failed when building commit 1ce9ea0.

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/all/#builders/90/builds/3769) and take a look at the build logs.
  4. Check if the failure is related to this commit (1ce9ea0) 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/90/builds/3769

Failed tests:

  • test_eintr

Failed subtests:

  • test_all - test.test_eintr.EINTRTests.test_all
  • test_lockf - main.FNTLEINTRTest.test_lockf

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-ppc64le/build/Lib/test/test_eintr.py", line 17, in test_all
    script_helper.run_test_script(script)
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/support/script_helper.py", line 300, in run_test_script
    raise AssertionError(f"{name} failed")
AssertionError: script _test_eintr.py failed


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/_test_eintr.py", line 523, in test_lockf
    self._lock(fcntl.lockf, "lockf")
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-stable-ppc64le/build/Lib/test/_test_eintr.py", line 508, in _lock
    raise Exception("failed to sync child in %.1f sec" % dt)
Exception: failed to sync child in 300.3 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants