Skip to content

gh-160297: Fix tarfile setting attributes through a hard link fallback - #160298

Merged
gpshead merged 2 commits into
python:mainfrom
gpshead:scanfix-tarfile-y0h1y0er
Nov 1, 2026
Merged

gpshead merged 2 commits into
python:mainfrom
gpshead:scanfix-tarfile-y0h1y0er

Conversation

@gpshead

@gpshead gpshead commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

When a hard link member's target is missing, makelink_with_filter() extracts a copy of the referenced member instead. If that member is a symlink, _extract_member() went on to apply the hard link's owner, mode and mtime with calls that follow the symlink, so they could land on a file outside the destination with the 'tar' and 'fully_trusted' filters. Attribute setting is now skipped when a hard link member ended up as a symlink; the nested extraction has already applied the symlink member's own attributes without following it. A hard link extracted as a copy of a regular file still gets the hard link's attributes, as before.

Fixes #160297

ANT-2026-Y0H1Y0ER

…allback

When a hard link member is extracted as a copy of a symlink member, do
not apply the hard link's owner, mode and mtime to the symlink's target.

ANT-2026-Y0H1Y0ER
@gpshead gpshead added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Oct 22, 2026
@gpshead gpshead self-assigned this Oct 22, 2026
@gpshead
gpshead requested a review from JelleZijlstra October 22, 2026 18:34
@gpshead
gpshead marked this pull request as ready for review October 22, 2026 18:35
@gpshead
gpshead requested a review from ethanfurman as a code owner October 22, 2026 18:35
@gpshead gpshead added the sprint label Oct 23, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Oct 23, 2026
@gpshead gpshead moved this from Todo to In Progress in Sprint Oct 25, 2026
@gpshead gpshead removed the sprint label Oct 25, 2026
@gpshead gpshead removed this from Sprint Oct 25, 2026

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, properly reviewing this now I don't think this is a type-security issue (more so a correctness issue). As documented, tarfile.tar_filter:

This filter does not check link targets (TarInfo.linkname). It allows benign cases (like links to /dev/null), but it also allows links (symbolic and hard) to arbitrary files on the filesystem, potentially granting unintended access to these files.

Because of that, a single hard link member with linkname ../flag already creates a hard link to the outside file and applies the member's mode, mtime and owner to it. The PR's two-member fallback route reaches nothing the filter does not already permit directly. The data filter, which is the documented to refuse to extract links (hard or soft) that link to absolute paths, or ones that link outside the destination, already rejects this fallback with LinkFallbackError, and fully_trusted is trusted by definition, so no documented security boundary is crossed under any built-in filter.

@bedevere-app

bedevere-app Bot commented Oct 25, 2026

Copy link
Copy Markdown

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@gpshead

gpshead commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

Sorry, properly reviewing this now I don't think this is a type-security issue (more so a correctness issue).

FWIW - agreed, this felt borderline given it required specific less-strict filters. if agreed, do we keep the cve assignment or undo that one?

i'm happy to move the news entry to Library, remove the cve ref, and reduce the level of backporting.

@gpshead gpshead added type-bug An unexpected behavior, bug, or error and removed needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes labels Oct 25, 2026
@gpshead
gpshead force-pushed the scanfix-tarfile-y0h1y0er branch from b91deed to 7304f21 Compare October 25, 2026 23:36
@gpshead

gpshead commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

I have made the requested changes; please review again.

@bedevere-app

bedevere-app Bot commented Oct 25, 2026

Copy link
Copy Markdown

Thanks for making the requested changes!

@StanFromIreland: please review the changes made to this pull request.

@gpshead
gpshead merged commit e5f1477 into python:main Nov 1, 2026
59 of 62 checks passed
@gpshead
gpshead deleted the scanfix-tarfile-y0h1y0er branch November 1, 2026 04:48
@miss-islington-app

Copy link
Copy Markdown

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 1, 2026

Copy link
Copy Markdown

GH-161058 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 1, 2026
@bedevere-app

bedevere-app Bot commented Nov 1, 2026

Copy link
Copy Markdown

GH-161059 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 1, 2026
gpshead added a commit that referenced this pull request Nov 1, 2026
…fallback (GH-160298) (#161058)

gh-160297: Fix tarfile setting attributes through a hard link fallback (GH-160298)

When a hard link member is extracted as a copy of a symlink member, do
not apply the hard link's owner, mode and mtime to the symlink's target.

ANT-2026-Y0H1Y0ER
(cherry picked from commit e5f1477)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Windows PGO 3.x (tier-1) has failed when building commit e5f1477.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1620/builds/4815

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • test_large_file_ops - test.test_io.test_general.PyIOTest.test_large_file_ops
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_large_file_ops - test.test_io.test_general.CIOTest.test_large_file_ops
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_io\test_general.py", line 371, in test_large_file_ops
    self.large_file_ops(f)
    ~~~~~~~~~~~~~~~~~~~^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_io\test_general.py", line 105, in large_file_ops
    self.assertEqual(f.write(b"xxx"), 3)
                     ~~~~~~~^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\_pyio.py", line 1789, in write
    return os.write(self._fd, b)
           ~~~~~~~~^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device


Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'D:\\[49 chars]\test_python_9880æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'D:\\[49 chars]\test_python_9880æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc'
- D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_9880æ\junk95142.zip\pre\fix\ziptestmodule.py
+ D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_9880æ\junk95142.zip\pre\fix\ziptestmodule.pyc
?                                                                                                          +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'D:\\[39 chars]ld\\build\\test_python_6476æ\\junk95142.zip\\ziptestmodule.py' != 'D:\\[39 chars]ld\\build\\test_python_6476æ\\junk95142.zip\\ziptestmodule.pyc'
- D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_6476æ\junk95142.zip\ziptestmodule.py
+ D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_6476æ\junk95142.zip\ziptestmodule.pyc
?                                                                                                  +


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'D:\\[39 chars]ld\\build\\test_python_9880æ\\junk95142.zip\\ziptestmodule.py' != 'D:\\[39 chars]ld\\build\\test_python_9880æ\\junk95142.zip\\ziptestmodule.pyc'
- D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_9880æ\junk95142.zip\ziptestmodule.py
+ D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_9880æ\junk95142.zip\ziptestmodule.pyc
?                                                                                                  +


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'D:\\[49 chars]\test_python_6476æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'D:\\[49 chars]\test_python_6476æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc'
- D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_6476æ\junk95142.zip\pre\fix\ziptestmodule.py
+ D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_6476æ\junk95142.zip\pre\fix\ziptestmodule.pyc
?                                                                                                          +


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'D:\\[49 chars]\test_python_6476æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'D:\\[49 chars]\test_python_6476æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc'
- D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_6476æ\junk95142.zip\pre\fix\ziptestmodule.py
+ D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_6476æ\junk95142.zip\pre\fix\ziptestmodule.pyc
?                                                                                                          +


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_io\test_general.py", line 371, in test_large_file_ops
    self.large_file_ops(f)
    ~~~~~~~~~~~~~~~~~~~^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_io\test_general.py", line 105, in large_file_ops
    self.assertEqual(f.write(b"xxx"), 3)
                     ~~~~~~~^^^^^^^^
OSError: [Errno 28] No space left on device


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\buildarea\3.x.bolen-windows10.pgo\build\Lib\test\test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'D:\\[49 chars]\test_python_9880æ\\junk95142.zip\\pre\\fix\\ziptestmodule.py' != 'D:\\[49 chars]\test_python_9880æ\\junk95142.zip\\pre\\fix\\ziptestmodule.pyc'
- D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_9880æ\junk95142.zip\pre\fix\ziptestmodule.py
+ D:\buildarea\3.x.bolen-windows10.pgo\build\build\test_python_9880æ\junk95142.zip\pre\fix\ziptestmodule.pyc
?                                                                                                          +

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable LTO + PGO 3.x (tier-1) has failed when building commit e5f1477.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/29/builds/10990

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[92 chars]ild/build/test_python_3103270æ/junk95142.zip/ziptestmodule.py' != '/hom[92 chars]ild/build/test_python_3103270æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3103270æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3103270æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                              +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[100 chars]d/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[100 chars]d/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                      +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[100 chars]d/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[100 chars]d/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                      +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[92 chars]ild/build/test_python_3084087æ/junk95142.zip/ziptestmodule.py' != '/hom[92 chars]ild/build/test_python_3084087æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3084087æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3084087æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                              +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[100 chars]d/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[100 chars]d/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3084087æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                      +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[100 chars]d/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[100 chars]d/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3103270æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                      +

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable LTO 3.x (tier-1) has failed when building commit e5f1477.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/271/builds/9724

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[96 chars]d/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[96 chars]d/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                  +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[88 chars]ild/build/test_python_3161814æ/junk95142.zip/ziptestmodule.py' != '/hom[88 chars]ild/build/test_python_3161814æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3161814æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3161814æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                          +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[96 chars]d/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[96 chars]d/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3161814æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                  +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[96 chars]d/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[96 chars]d/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                  +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[96 chars]d/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[96 chars]d/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3142470æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                  +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[88 chars]ild/build/test_python_3142470æ/junk95142.zip/ziptestmodule.py' != '/hom[88 chars]ild/build/test_python_3142470æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3142470æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.x.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3142470æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                          +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable 3.15 (tier-1) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2058/builds/536

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[103 chars]d/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[103 chars]d/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                         +


Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[95 chars]oot/build/test_python_3212081æ/junk95142.zip/ziptestmodule.py' != '/hom[95 chars]oot/build/test_python_3212081æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3212081æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3212081æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                                 +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[103 chars]d/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[103 chars]d/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                         +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[95 chars]oot/build/test_python_3218573æ/junk95142.zip/ziptestmodule.py' != '/hom[95 chars]oot/build/test_python_3218573æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3218573æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3218573æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                                 +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[103 chars]d/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[103 chars]d/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3218573æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                         +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[103 chars]d/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[103 chars]d/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64/build/build_oot/build/test_python_3212081æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                         +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable Clang 3.15 (tier-2) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2021/builds/477

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[99 chars]d/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[99 chars]d/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                     +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[99 chars]d/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[99 chars]d/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                     +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[91 chars]ild/build/test_python_3249717æ/junk95142.zip/ziptestmodule.py' != '/hom[91 chars]ild/build/test_python_3249717æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3249717æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3249717æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                             +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[99 chars]d/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[99 chars]d/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3249717æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                     +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[99 chars]d/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[99 chars]d/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3268569æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                     +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[91 chars]ild/build/test_python_3268569æ/junk95142.zip/ziptestmodule.py' != '/hom[91 chars]ild/build/test_python_3268569æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3268569æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang/build/build/test_python_3268569æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                             +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable Clang Installed 3.15 (tier-2) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2081/builds/448

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/tmp[20 chars]d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/tmp[20 chars]d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                      +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/tmp[20 chars]d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/tmp[20 chars]d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                      +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/ziptestmodule.py' != '/tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/ziptestmodule.pyc'
- /tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/ziptestmodule.py
+ /tmp/test_python_fikme66d/test_python_3308346æ/junk95142.zip/ziptestmodule.pyc
?                                                                              +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/tmp[20 chars]b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/tmp[20 chars]b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                      +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/ziptestmodule.py' != '/tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/ziptestmodule.pyc'
- /tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/ziptestmodule.py
+ /tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/ziptestmodule.pyc
?                                                                              +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.clang-installed/build/target/lib/python3.15/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/tmp[20 chars]b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/tmp[20 chars]b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /tmp/test_python__jfn2e5b/test_python_3282240æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                      +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot s390x Fedora Stable Refleaks 3.15 (tier-3) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2050/builds/468

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[101 chars]ld/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[101 chars]ld/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[93 chars]uild/build/test_python_852809æ/junk95142.zip/ziptestmodule.py' != '/var[93 chars]uild/build/test_python_852809æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_852809æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_852809æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                               +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[101 chars]ld/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[101 chars]ld/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[101 chars]ld/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[101 chars]ld/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_852809æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[93 chars]uild/build/test_python_874234æ/junk95142.zip/ziptestmodule.py' != '/var[93 chars]uild/build/test_python_874234æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_874234æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_874234æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                               +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[101 chars]ld/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[101 chars]ld/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.refleak/build/build/test_python_874234æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable LTO + PGO 3.15 (tier-1) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2017/builds/438

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[101 chars]d/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[101 chars]d/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[101 chars]d/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[101 chars]d/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[101 chars]d/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[101 chars]d/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3341400æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[101 chars]d/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[101 chars]d/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3353480æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                       +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[93 chars]ild/build/test_python_3353480æ/junk95142.zip/ziptestmodule.py' != '/hom[93 chars]ild/build/test_python_3353480æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3353480æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3353480æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                               +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[93 chars]ild/build/test_python_3341400æ/junk95142.zip/ziptestmodule.py' != '/hom[93 chars]ild/build/test_python_3341400æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3341400æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto-pgo/build/build/test_python_3341400æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                               +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 CentOS9 3.15 (tier-1) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2101/builds/439

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[94 chars]d/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[94 chars]d/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[86 chars]oot/build/test_python_1883070æ/junk95142.zip/ziptestmodule.py' != '/var[86 chars]oot/build/test_python_1883070æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1883070æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1883070æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                        +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[94 chars]d/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[94 chars]d/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1897998æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[94 chars]d/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[94 chars]d/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[94 chars]d/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[94 chars]d/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1883070æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[86 chars]oot/build/test_python_1897998æ/junk95142.zip/ziptestmodule.py' != '/var[86 chars]oot/build/test_python_1897998æ/junk95142.zip/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1897998æ/junk95142.zip/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-CentOS9-x86_64/3.15.cstratak-CentOS9-x86_64/build/build_oot/build/test_python_1897998æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                        +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable LTO 3.15 (tier-1) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2090/builds/403

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.ZStdCompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.ZStdCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • testBoth - test.test_zipimport.ZStdCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[97 chars]d/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[97 chars]d/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                   +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[97 chars]d/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[97 chars]d/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3410407æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                   +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[97 chars]d/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[97 chars]d/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                   +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[97 chars]d/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/hom[97 chars]d/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3379859æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                                   +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[89 chars]ild/build/test_python_3410407æ/junk95142.zip/ziptestmodule.py' != '/hom[89 chars]ild/build/test_python_3410407æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3410407æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3410407æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                           +


Traceback (most recent call last):
  File "/home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/hom[89 chars]ild/build/test_python_3379859æ/junk95142.zip/ziptestmodule.py' != '/hom[89 chars]ild/build/test_python_3379859æ/junk95142.zip/ziptestmodule.pyc'
- /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3379859æ/junk95142.zip/ziptestmodule.py
+ /home/buildbot-worker/cstratak-fedora-stable-x86_64/3.15.cstratak-fedora-stable-x86_64.lto/build/build/test_python_3379859æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                                                                           +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Ubuntu Shared 3.15 (tier-1) has failed when building commit c952392.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/2106/builds/508

Failed tests:

  • test_zipimport

Failed subtests:

  • testGetCompiledSource - test.test_zipimport.DeflateCompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.UncompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc
  • testBoth - test.test_zipimport.DeflateCompressedZipImportTestCase.testBoth
  • test_syntax_error_in_source_with_valid_pyc - test.test_zipimport.DeflateCompressedZipImportTestCase.test_syntax_error_in_source_with_valid_pyc

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/srv[48 chars]d/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/srv[48 chars]d/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                  +


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... skipped 'requires zstd'


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/srv[48 chars]d/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/srv[48 chars]d/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                  +


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/srv[40 chars]ild/build/test_python_3203082æ/junk95142.zip/ziptestmodule.py' != '/srv[40 chars]ild/build/test_python_3203082æ/junk95142.zip/ziptestmodule.pyc'
- /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3203082æ/junk95142.zip/ziptestmodule.py
+ /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3203082æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                          +


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 315, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/srv[48 chars]d/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/srv[48 chars]d/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3192273æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                  +


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 286, in test_syntax_error_in_source_with_valid_pyc
    self.assertEqual(spec.origin, expected_path)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/srv[40 chars]ild/build/test_python_3192273æ/junk95142.zip/ziptestmodule.py' != '/srv[40 chars]ild/build/test_python_3192273æ/junk95142.zip/ziptestmodule.pyc'
- /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3192273æ/junk95142.zip/ziptestmodule.py
+ /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3192273æ/junk95142.zip/ziptestmodule.pyc
?                                                                                                          +


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 877, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 160, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/buildbot/buildarea/3.15.bolen-ubuntu/build/Lib/test/test_zipimport.py", line 174, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/srv[48 chars]d/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/srv[48 chars]d/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /srv/buildbot/buildarea/3.15.bolen-ubuntu/build/build/test_python_3203082æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                  +


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok

gpshead added a commit that referenced this pull request Nov 1, 2026
…fallback (GH-160298) (#161059)

gh-160297: Fix tarfile setting attributes through a hard link fallback (GH-160298)

When a hard link member is extracted as a copy of a symlink member, do
not apply the hard link's owner, mode and mtime to the symlink's target.

ANT-2026-Y0H1Y0ER
(cherry picked from commit e5f1477)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Alpine Linux 3.14 (tierless) has failed when building commit 0c85dc8.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1821/builds/1547

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

==

Click to see traceback logs
Traceback (most recent call last):
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/urllib/request.py"�[0m, line �[35m1573�[0m, in �[35mftp_open�[0m
    fp, retrlen = �[31mfw.retrfile�[0m�[1;31m(file, type)�[0m
                  �[31m~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^�[0m
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/urllib/request.py"�[0m, line �[35m1843�[0m, in �[35mretrfile�[0m
    conn, retrlen = �[31mself.ftp.ntransfercmd�[0m�[1;31m(cmd)�[0m
                    �[31m~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^�[0m
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/ftplib.py"�[0m, line �[35m359�[0m, in �[35mntransfercmd�[0m
    resp = self.sendcmd(cmd)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/ftplib.py"�[0m, line �[35m281�[0m, in �[35msendcmd�[0m
    return �[31mself.getresp�[0m�[1;31m()�[0m
           �[31m~~~~~~~~~~~~�[0m�[1;31m^^�[0m
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/ftplib.py"�[0m, line �[35m252�[0m, in �[35mgetresp�[0m
    raise error_temp(resp)
�[1;35mftplib.error_temp�[0m: �[35m425 Security: Bad IP connecting.�[0m


Traceback (most recent call last):
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/test/test_urllib2net.py"�[0m, line �[35m307�[0m, in �[35m_test_urls�[0m
    f = urlopen(url, req, support.INTERNET_TIMEOUT)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/test/test_urllib2net.py"�[0m, line �[35m32�[0m, in �[35mwrapped�[0m
    return _retry_thrice(func, exc, *args, **kwargs)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/test/test_urllib2net.py"�[0m, line �[35m28�[0m, in �[35m_retry_thrice�[0m
    raise last_exc
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/test/test_urllib2net.py"�[0m, line �[35m24�[0m, in �[35m_retry_thrice�[0m
    return func(*args, **kwargs)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/urllib/request.py"�[0m, line �[35m487�[0m, in �[35mopen�[0m
    response = self._open(req, data)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/urllib/request.py"�[0m, line �[35m504�[0m, in �[35m_open�[0m
    result = self._call_chain(self.handle_open, protocol, protocol +
                              '_open', req)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/urllib/request.py"�[0m, line �[35m464�[0m, in �[35m_call_chain�[0m
    result = func(*args)
  File �[35m"/buildbot/buildarea/3.14.ware-alpine/build/Lib/urllib/request.py"�[0m, line �[35m1586�[0m, in �[35mftp_open�[0m
    raise URLError(f"ftp error: {exp}") from exp
�[1;35murllib.error.URLError�[0m: �[35m<urlopen error ftp error: 425 Security: Bad IP connecting.>�[0m

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot s390x RHEL9 3.14 (tier-3) has failed when building commit 0c85dc8.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1696/builds/1705

Failed tests:

  • test_zipimport

Failed subtests:

  • testBoth - test.test_zipimport.UncompressedZipImportTestCase.testBoth
  • testGetCompiledSource - test.test_zipimport.CompressedZipImportTestCase.testGetCompiledSource
  • testGetCompiledSource - test.test_zipimport.UncompressedZipImportTestCase.testGetCompiledSource
  • testBoth - test.test_zipimport.CompressedZipImportTestCase.testBoth

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

==

Click to see traceback logs
Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 222, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 161, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 175, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[78 chars]d/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[78 chars]d/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 791, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 161, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 175, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[78 chars]d/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[78 chars]d/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2911814æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 222, in testBoth
    self.doTest(pyc_ext, files, TESTMOD)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 161, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 175, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[78 chars]d/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[78 chars]d/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                +


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 791, in testGetCompiledSource
    self.doTest(pyc_ext, files, TESTMOD, call=self.assertModuleSource)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 161, in doTest
    self.doTestWithPreBuiltZip(expected_ext, *modules, **kw)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/Lib/test/test_zipimport.py", line 175, in doTestWithPreBuiltZip
    self.assertEqual(file, os.path.join(zip_path,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *modules) + expected_ext)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '/var[78 chars]d/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.py' != '/var[78 chars]d/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.pyc'
- /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.py
+ /var/lib/buildbot/worker/cstratak-rhel9-s390x/3.14.cstratak-rhel9-s390x/build/build/test_python_2870316æ/junk95142.zip/pre/fix/ziptestmodule.pyc
?                                                                                                                                                +


Traceback (test.test_zipimport.CompressedZipImportTestCase.testTraceback) ... ok

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

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tarfile applies a hard link member's attributes through a symlink extracted in its place

3 participants