Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) #115623

Merged
merged 39 commits into from
Feb 29, 2024

Conversation

hartwork
Copy link
Contributor

@hartwork hartwork commented Feb 18, 2024

Mission

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

  • xml.etree.ElementTree.XMLParser.flush
  • xml.etree.ElementTree.XMLPullParser.flush
  • xml.parsers.expat.xmlparser.GetReparseDeferralEnabled
  • xml.parsers.expat.xmlparser.SetReparseDeferralEnabled
  • xml.sax.expatreader.ExpatParser.flush

Based on the "flush" idea from #115138 (comment) .

Notes

  • Please treat as a security fix related to CVE-2023-52425.
  • Please note that this is my first contact with the CPython Argument Clinic.
  • I'm happy to add more end user documentation once it is clear how you feel about the technical aspects of this pull request.
  • Looking forward to your review 🍻

CC @serhiy-storchaka

Include/pyexpat.h Outdated Show resolved Hide resolved
Lib/xml/etree/ElementTree.py Outdated Show resolved Hide resolved
Lib/xml/sax/expatreader.py Outdated Show resolved Hide resolved
Modules/_elementtree.c Outdated Show resolved Hide resolved
Modules/_elementtree.c Outdated Show resolved Hide resolved
Modules/pyexpat.c Outdated Show resolved Hide resolved
Modules/pyexpat.c Outdated Show resolved Hide resolved
Modules/pyexpat.c Outdated Show resolved Hide resolved
Modules/_elementtree.c Outdated Show resolved Hide resolved
@hartwork hartwork force-pushed the expat-2-6-0-reparse-deferral-api branch 2 times, most recently from d80dcc4 to 5f23237 Compare February 18, 2024 16:31
@serhiy-storchaka
Copy link
Member

Please do not use rebase and force push. It makes reviewing more difficult -- the reviewer needs to re-read all changes instead of only the difference since the last review.

Use merge if you need, but this is only needed if there are conflicts with the main branch. At the end all commits will be squashed and merged as a single commits.

@hartwork hartwork force-pushed the expat-2-6-0-reparse-deferral-api branch from 5f23237 to a62e863 Compare February 18, 2024 16:46
@hartwork
Copy link
Contributor Author

Please do not use rebase and force push. It makes reviewing more difficult -- the reviewer needs to re-read all changes instead of only the difference since the last review.

@serhiy-storchaka that's what GitHub has "compare" buttons for, for every push done to the pull request branch:

compare_button

The e-mail that GitHub sends also contain these links.

Use merge if you need, but this is only needed if there are conflicts with the main branch.
At the end all commits will be squashed and merged as a single commits.

That's sad. Merge commits should not be in pull requests and commit cuttings do have semantic value. I'll "go cry somewhere now".

@hartwork hartwork force-pushed the expat-2-6-0-reparse-deferral-api branch 3 times, most recently from 8c26bbe to 439d970 Compare February 18, 2024 20:27
@hartwork hartwork force-pushed the expat-2-6-0-reparse-deferral-api branch from 439d970 to 850e46d Compare February 18, 2024 20:34
@serhiy-storchaka
Copy link
Member

The "Compare" link shows a lot of unrelated changes. This is why it is better to use merge instead of rebase.

@hartwork
Copy link
Contributor Author

The "Compare" link shows a lot of unrelated changes. This is why it is better to use merge instead of rebase.

@serhiy-storchaka only because I made a mistake in one of the rebases. It works perfectly if the merge base is the same and the person pushing does the right thing.

@serhiy-storchaka
Copy link
Member

For future, please don't use rebase.

Copy link

@Snild-Sony Snild-Sony left a comment

Choose a reason for hiding this comment

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

Adding an optional data arg to flush() could be useful for performance: it would allow merging feed(data); flush() into just flush(data), avoiding unnecessary reparsing (specifically, in the case where the original feed also tried to parse).

Another option would be to add a default-false flush flag to feed(). This would perhaps be a better API, as it will be very clear that the flush operation can cause the same effects and errors as a normal feed.

In both cases, the flush operation should be documented along the lines of "Try to parse all available data, possibly at a very high performance cost".

Lib/xml/etree/ElementTree.py Outdated Show resolved Hide resolved
@serhiy-storchaka
Copy link
Member

Another option would be to add a default-false flush flag to feed(). This would perhaps be a better API, as it will be very clear that the flush operation can cause the same effects and errors as a normal feed.

This is an interesting idea. The drawback is that it is more difficult to detect whether the new feature is supported or not: you cannot simply use hasattr(XMLParser, flush). But otherwise it looks attractive. Most users do not need to use flush, most code is not so fragile, this feature is needed to handle the rare cases for which the only alternative -- not to use Expat 2.6.0 at all.

@hartwork
Copy link
Contributor Author

hartwork commented Mar 6, 2024

we may want to document the "use getattr/hasattr to determine if the runtime you are using supports these features" bit to make live easier people supporting use of these across a wide range of runtimes. but that isn't required and docs can always be improved later if so.

@gpshead I made pull request #116278 for that now. Looking for review, happy to adjust as needed.

FYI - Once #116301 is merged, cherry pick it's commit into your pending backport PR branches.

@gpshead cherry-picked to all backports now:

gpshead pushed a commit that referenced this pull request Mar 6, 2024
…-52425) (GH-115623) (GH-116248)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from #115138 (comment) .

- Please treat as a security fix related to CVE-2023-52425.

(cherry picked from commit 6a95676)
(cherry picked from commit 73807eb)
(cherry picked from commit eda2963)

---------

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.
Co-authored-by: Gregory P. Smith <[email protected]>
hartwork added a commit to hartwork/cpython that referenced this pull request Mar 6, 2024
…52425) (pythonGH-115623)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from python#115138 (comment) .

- Please treat as a security fix related to CVE-2023-52425.

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.

(cherry picked from commit 6a95676)
gpshead pushed a commit that referenced this pull request Mar 6, 2024
…-52425) (GH-115623) (#116268)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from #115138 (comment) .

- Please treat as a security fix related to CVE-2023-52425.

(cherry picked from commit 6a95676)
(cherry picked from commit 73807eb)
(cherry picked from commit eda2963)

---------

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.
Co-authored-by: Gregory P. Smith <[email protected]>
ambv pushed a commit that referenced this pull request Mar 6, 2024
…-52425) (GH-115623) (GH-116270)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from #115138 (comment) .

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.

Co-authored-by: Gregory P. Smith <[email protected]>
ambv pushed a commit that referenced this pull request Mar 6, 2024
…52425) (GH-115623) (GH-116272)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from #115138 (comment) .

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.

Co-authored-by: Gregory P. Smith <[email protected]>
ambv pushed a commit that referenced this pull request Mar 6, 2024
…52425) (GH-115623) (GH-116275)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from #115138 (comment) .

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.

Co-authored-by: Gregory P. Smith <[email protected]>
@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 FreeBSD 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1221/builds/19

Failed tests:

  • test_cmd_line_script
  • test_tarfile

Failed subtests:

  • test_script_as_dev_fd - test.test_cmd_line_script.CmdLineTest
  • test_modes - test.test_tarfile.TestExtractionFilters

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

== Tests result: FAILURE then FAILURE ==

409 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 14 sec
  • test_multiprocessing_spawn: 1 min 28 sec
  • test_multiprocessing_forkserver: 1 min 16 sec
  • test_multiprocessing_fork: 1 min 10 sec
  • test_signal: 46.2 sec
  • test_asyncio: 42.3 sec
  • test_capi: 33.9 sec
  • test_subprocess: 33.7 sec
  • test_io: 32.6 sec
  • test_pydoc: 31.7 sec

2 tests failed:
test_cmd_line_script test_tarfile

14 tests skipped:
test_devpoll test_epoll test_ioctl test_msilib test_readline
test_spwd test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

2 re-run tests:
test_cmd_line_script test_tarfile

Total duration: 5 min 40 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_72fee045'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/test/test_cmd_line_script.py", line 752, in test_script_as_dev_fd
    self.assertEqual(out, b"12345678912345678912345\n")
AssertionError: b"/buildbot/buildarea/3.10.ware-freebsd/bu[74 chars]ry\n" != b'12345678912345678912345\n'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/test/test_tarfile.py", line 3658, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/buildbot/buildarea/3.10.ware-freebsd/build/build/test_python_32979æ/test_python_worker_33192æ/@test_33192_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_734ed987'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_f301bfba'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/test/test_tarfile.py", line 3658, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/buildbot/buildarea/3.10.ware-freebsd/build/build/test_python_32979æ/@test_32979_tmpæ-tardir/tmp.file'

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 FreeBSD 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1222/builds/18

Failed tests:

  • test_tarfile

Failed subtests:

  • test_modes - test.test_tarfile.TestExtractionFilters

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 17 sec
  • test_multiprocessing_spawn: 1 min 31 sec
  • test_multiprocessing_forkserver: 1 min 18 sec
  • test_multiprocessing_fork: 1 min 9 sec
  • test_signal: 46.3 sec
  • test_asyncio: 40.9 sec
  • test_capi: 40.9 sec
  • test_io: 34.9 sec
  • test_subprocess: 32.6 sec
  • test_pydoc: 31.4 sec

1 test failed:
test_tarfile

13 tests skipped:
test_devpoll test_epoll test_ioctl test_msilib test_spwd
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_tarfile

Total duration: 5 min 6 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_2e31574b'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/test/test_tarfile.py", line 3618, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/buildbot/buildarea/3.9.ware-freebsd/build/build/test_python_48322æ/test_python_worker_48987æ/@test_48987_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/test/test_tarfile.py", line 3618, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/buildbot/buildarea/3.9.ware-freebsd/build/build/test_python_48322æ/@test_48322_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_a740dfd9'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_c718ce86'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x SLES 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/611/builds/1428

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 23 sec
  • test_multiprocessing_spawn: 1 min 33 sec
  • test_multiprocessing_forkserver: 1 min 15 sec
  • test_multiprocessing_fork: 1 min 3 sec
  • test_unparse: 51.2 sec
  • test_signal: 47.5 sec
  • test_asyncio: 43.4 sec
  • test_tokenize: 41.2 sec
  • test_io: 35.0 sec
  • test_pydoc: 31.8 sec

1 test failed:
test_zlib

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 4 min 17 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-sles-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_66f0ff2a'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[4372 chars]xbf\x10[\x01\xc3t\xc0*\xe02\x02\x150\xcc\nX\x0[111065 chars]\x95' != b'x\x[4372 chars]xbf\xc0*`B\x150L\x07\xac\x02.#P\x01\xc3\xac\x8[111211 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3391 chars]x17\xe3\xa8\x80a\x8eA\xaf\x80\x0bpT\xc0\xe8\xb[111997 chars]\x95' != b'x\x[3391 chars]x17\xa3U\xc0\xb0\n\x18\xe6\x18\xf4\n\xb8\x00G\[111475 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[110607 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114866 chars]\x95'


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[112117 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115583 chars]\x95'


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

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 FreeBSD14 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1231/builds/15

Failed tests:

  • test_cmd_line_script
  • test_tarfile

Failed subtests:

  • test_script_as_dev_fd - test.test_cmd_line_script.CmdLineTest
  • test_modes - test.test_tarfile.TestExtractionFilters

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

== Tests result: FAILURE then FAILURE ==

406 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 32 sec
  • test_multiprocessing_spawn: 2 min 31 sec
  • test_multiprocessing_forkserver: 1 min 50 sec
  • test_asyncio: 1 min 30 sec
  • test_multiprocessing_fork: 1 min 28 sec
  • test_unparse: 1 min 22 sec
  • test_tokenize: 1 min 7 sec
  • test_lib2to3: 55.8 sec
  • test_capi: 55.2 sec
  • test_subprocess: 50.6 sec

2 tests failed:
test_cmd_line_script test_tarfile

17 tests skipped:
test_dbm_gnu test_devpoll test_epoll test_gdb test_ioctl
test_msilib test_readline test_spwd test_sqlite test_startfile
test_tix test_tk test_ttk_guionly test_winconsoleio test_winreg
test_winsound test_zipfile64

2 re-run tests:
test_cmd_line_script test_tarfile

Total duration: 9 min 4 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/test/test_tarfile.py", line 3658, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/home/buildbot/buildarea/3.10.opsec-fbsd14/build/build/test_python_60778æ/test_python_worker_65637æ/@test_65637_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/test/test_cmd_line_script.py", line 752, in test_script_as_dev_fd
    self.assertEqual(out, b"12345678912345678912345\n")
AssertionError: b"/home/buildbot/buildarea/3.10.opsec-fbsd[79 chars]ry\n" != b'12345678912345678912345\n'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_b4a9261a'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_43337e1c'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/test/test_tarfile.py", line 3658, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/home/buildbot/buildarea/3.10.opsec-fbsd14/build/build/test_python_60778æ/@test_60778_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_600f23cb'

@bedevere-bot
Copy link

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

Hi! The buildbot ARM64 macOS 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/724/builds/1149

Failed tests:

  • test_asyncio

Failed subtests:

  • test_create_ssl_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_connection - test.test_asyncio.test_events.KqueueEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.KqueueEventLoopTests
  • test_create_ssl_connection - test.test_asyncio.test_events.PollEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.PollEventLoopTests

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

== Tests result: FAILURE then FAILURE ==

405 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 53 sec
  • test_multiprocessing_spawn: 2 min 25 sec
  • test_multiprocessing_forkserver: 1 min 50 sec
  • test_ssl: 1 min 46 sec
  • test_unparse: 1 min 37 sec
  • test_logging: 1 min 18 sec
  • test_tokenize: 1 min 12 sec
  • test_asyncio: 1 min 2 sec
  • test_capi: 57.0 sec
  • test_lib2to3: 56.1 sec

1 test failed:
test_asyncio

16 tests skipped:
test_devpoll test_epoll test_gdb test_ioctl test_msilib
test_multiprocessing_fork test_ossaudiodev test_spwd
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_asyncio

Total duration: 8 min 56 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 658, in test_create_ssl_unix_connection
    self._test_create_ssl_connection(httpd, create_connection,
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 630, in _test_create_ssl_connection
    self._basetest_create_ssl_connection(conn_fut, check_sockname,
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 589, in _basetest_create_ssl_connection
    tr, pr = self.loop.run_until_complete(connection_fut)
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/unix_events.py", line 269, in create_unix_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 1133, in _create_connection_transport
    await waiter
ConnectionResetError


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 642, in test_create_ssl_connection
    self._test_create_ssl_connection(httpd, create_connection,
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 630, in _test_create_ssl_connection
    self._basetest_create_ssl_connection(conn_fut, check_sockname,
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 589, in _basetest_create_ssl_connection
    tr, pr = self.loop.run_until_complete(connection_fut)
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 1103, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 1133, in _create_connection_transport
    await waiter
ConnectionResetError


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_f91fe64a'


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_60267232'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x SLES 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/535/builds/696

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 23 sec
  • test_multiprocessing_spawn: 1 min 53 sec
  • test_multiprocessing_forkserver: 1 min 31 sec
  • test_multiprocessing_fork: 1 min 5 sec
  • test_unparse: 55.2 sec
  • test_signal: 47.6 sec
  • test_tokenize: 47.4 sec
  • test_asyncio: 44.2 sec
  • test_capi: 38.5 sec
  • test_io: 37.0 sec

1 test failed:
test_zlib

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 5 min 23 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_07b33891'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[102610 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115020 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[99639 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114735 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_b3a3080b'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3974 chars]\xc0\xb0\n\x98\xd4\n8\x8fJ\x15p*Z\x05\xac@d\x0[111311 chars]\x95' != b'x\x[3974 chars]\xc0\n\xd0\n\xb8\x1cZ\x01\xa7@+\xe0\x14h\x05\\[111046 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_0efc1ef1'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-sles-z/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[2207 chars]\xf9y0m\x8e\x90`LT\xc8\x05\xfaG\xa185\'5\xb9\x[112720 chars]\x95' != b'x\x[2207 chars]\xf9ypm\x90`LT\xc8\x05\xfaG\xa185\'5\xb9\x04\x[112528 chars]\x95'

@bedevere-bot
Copy link

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

Hi! The buildbot ARM64 macOS 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/726/builds/418

Failed tests:

  • test_asyncio

Failed subtests:

  • test_create_ssl_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_connection - test.test_asyncio.test_events.KqueueEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.KqueueEventLoopTests
  • test_create_ssl_connection - test.test_asyncio.test_events.PollEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.PollEventLoopTests

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

== Tests result: FAILURE then FAILURE ==

405 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 56 sec
  • test_multiprocessing_spawn: 2 min 35 sec
  • test_multiprocessing_forkserver: 1 min 52 sec
  • test_unparse: 1 min 38 sec
  • test_tokenize: 1 min 31 sec
  • test_ssl: 1 min 28 sec
  • test_capi: 1 min 13 sec
  • test_asyncio: 1 min 4 sec
  • test_lib2to3: 59.4 sec
  • test_unicodedata: 50.5 sec

1 test failed:
test_asyncio

16 tests skipped:
test_devpoll test_epoll test_gdb test_ioctl test_msilib
test_multiprocessing_fork test_ossaudiodev test_spwd
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_asyncio

Total duration: 9 min 13 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 617, in test_create_ssl_connection
    self._test_create_ssl_connection(httpd, create_connection,
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 605, in _test_create_ssl_connection
    self._basetest_create_ssl_connection(conn_fut, check_sockname,
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 564, in _basetest_create_ssl_connection
    tr, pr = self.loop.run_until_complete(connection_fut)
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 1090, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 1120, in _create_connection_transport
    await waiter
ConnectionResetError


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_234305d0'


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 633, in test_create_ssl_unix_connection
    self._test_create_ssl_connection(httpd, create_connection,
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 605, in _test_create_ssl_connection
    self._basetest_create_ssl_connection(conn_fut, check_sockname,
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_asyncio/test_events.py", line 564, in _basetest_create_ssl_connection
    tr, pr = self.loop.run_until_complete(connection_fut)
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/unix_events.py", line 258, in create_unix_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/asyncio/base_events.py", line 1120, in _create_connection_transport
    await waiter
ConnectionResetError


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.9.pablogsal-macos-m1.macos-with-brew/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_cd5c09c7'

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 FreeBSD14 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1229/builds/10

Failed tests:

  • test_tarfile

Failed subtests:

  • test_modes - test.test_tarfile.TestExtractionFilters

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

== Tests result: FAILURE then FAILURE ==

408 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 34 sec
  • test_multiprocessing_spawn: 2 min 32 sec
  • test_multiprocessing_forkserver: 1 min 45 sec
  • test_tokenize: 1 min 28 sec
  • test_unparse: 1 min 28 sec
  • test_multiprocessing_fork: 1 min 27 sec
  • test_asyncio: 1 min 25 sec
  • test_capi: 1 min 6 sec
  • test_lib2to3: 58.5 sec
  • test_subprocess: 55.8 sec

1 test failed:
test_tarfile

16 tests skipped:
test_dbm_gnu test_devpoll test_epoll test_gdb test_ioctl
test_msilib test_spwd test_sqlite test_startfile test_tix test_tk
test_ttk_guionly test_winconsoleio test_winreg test_winsound
test_zipfile64

1 re-run test:
test_tarfile

Total duration: 9 min 39 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.9.opsec-fbsd14/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_6acf898e'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.9.opsec-fbsd14/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_79190288'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.9.opsec-fbsd14/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_87f1882a'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.9.opsec-fbsd14/build/Lib/test/test_tarfile.py", line 3618, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/home/buildbot/buildarea/3.9.opsec-fbsd14/build/build/test_python_75405æ/test_python_worker_81149æ/@test_81149_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.9.opsec-fbsd14/build/Lib/test/test_tarfile.py", line 3618, in test_modes
    os.chmod(tmp_filename, os.stat(tmp_filename).st_mode | stat.S_ISVTX)
OSError: [Errno 79] Inappropriate file type or format: '/home/buildbot/buildarea/3.9.opsec-fbsd14/build/build/test_python_75405æ/@test_75405_tmpæ-tardir/tmp.file'

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 RHEL8 FIPS Only Blake2 Builtin Hash 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/610/builds/1324

Failed tests:

  • test_socket

Failed subtests:

  • test_hmac_sha1 - test.test_socket.LinuxKernelCryptoAPI

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

== Tests result: FAILURE then FAILURE ==

412 tests OK.

10 slowest tests:

  • test_gdb: 7 min 13 sec
  • test_concurrent_futures: 2 min 51 sec
  • test_capi: 2 min 29 sec
  • test_multiprocessing_spawn: 2 min
  • test_asyncio: 1 min 41 sec
  • test_unparse: 1 min 36 sec
  • test_tokenize: 1 min 23 sec
  • test_multiprocessing_forkserver: 1 min 18 sec
  • test_peg_generator: 59.9 sec
  • test_lib2to3: 58.8 sec

1 test failed:
test_socket

12 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_startfile
test_tix test_tk test_ttk_guionly test_winconsoleio test_winreg
test_winsound test_zipfile64

1 re-run test:
test_socket

Total duration: 9 min 32 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.10.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_socket.py", line 6300, in test_hmac_sha1
    algo.setsockopt(socket.SOL_ALG, socket.ALG_SET_KEY, b"Jefe")
OSError: [Errno 22] Invalid argument

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/490/builds/613

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 36 sec
  • test_multiprocessing_spawn: 1 min 49 sec
  • test_multiprocessing_forkserver: 1 min 24 sec
  • test_multiprocessing_fork: 1 min 13 sec
  • test_gdb: 1 min 2 sec
  • test_unparse: 50.6 sec
  • test_tokenize: 49.0 sec
  • test_signal: 47.6 sec
  • test_asyncio: 44.1 sec
  • test_capi: 43.9 sec

1 test failed:
test_zlib

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 4 min 57 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[4346 chars]8\xa6\x9a^\x15\xf0P\xaf\x80a~!\xb6\x02\x86\xe9[111042 chars]\x95' != b'x\x[4346 chars]8\xa6z\xa4W\xc0\xc4V\xc00\xbf\x10[\x01\xc3t\xc[110752 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3272 chars]G\x8d\xf5\xca\xfcR\xb0\x1b\xc1qV\x9c\x01\x8cK\[112654 chars]\x95' != b'x\x[3272 chars]G\x8du\xa0V\xb0\x1b\xc1qV\x9c\x01\x8cK\x85\xec[111767 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[100347 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115098 chars]\x95'


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


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[101545 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115039 chars]\x95'


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

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 RHEL8 FIPS Only Blake2 Builtin Hash 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/382/builds/653

Failed tests:

  • test_socket

Failed subtests:

  • test_hmac_sha1 - test.test_socket.LinuxKernelCryptoAPI

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

== Tests result: FAILURE then FAILURE ==

412 tests OK.

10 slowest tests:

  • test_gdb: 7 min 45 sec
  • test_concurrent_futures: 3 min
  • test_capi: 2 min 14 sec
  • test_asyncio: 1 min 51 sec
  • test_multiprocessing_spawn: 1 min 49 sec
  • test_unparse: 1 min 42 sec
  • test_multiprocessing_forkserver: 1 min 23 sec
  • test_tokenize: 1 min 21 sec
  • test_peg_generator: 1 min 13 sec
  • test_lib2to3: 1 min 1 sec

1 test failed:
test_socket

12 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_startfile
test_tix test_tk test_ttk_guionly test_winconsoleio test_winreg
test_winsound test_zipfile64

1 re-run test:
test_socket

Total duration: 10 min 53 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-fips-x86_64.no-builtin-hashes-except-blake2/build/Lib/test/test_socket.py", line 6281, in test_hmac_sha1
    algo.setsockopt(socket.SOL_ALG, socket.ALG_SET_KEY, b"Jefe")
OSError: [Errno 22] Invalid argument

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 LTO + PGO 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/436/builds/613

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

410 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 23 sec
  • test_multiprocessing_spawn: 1 min 25 sec
  • test_multiprocessing_forkserver: 1 min 8 sec
  • test_multiprocessing_fork: 1 min 2 sec
  • test_signal: 46.9 sec
  • test_asyncio: 39.7 sec
  • test_io: 34.6 sec
  • test_imaplib: 31.6 sec
  • test_pydoc: 30.9 sec
  • test_xmlrpc: 27.2 sec

1 test failed:
test_zlib

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 3 min 35 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto-pgo/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_e32599c4'


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3701 chars]xa6\xd1*`B\x15\xb0\x02\x99\x15\xb0\x02\x9d*`\x[110465 chars]\x95' != b'x\x[3701 chars]xa6\xa1\x15p>\xb4\x02\xce\x84V\xc0\n\xd0\n8\x1[111927 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[2932 chars]\xb6+!%\xb4\x0e\x98\x95_\x94\x82\xad\xa8\x86\x[112114 chars]\x95' != b'x\x[2932 chars]\xb6+\x81\x81\x9bX\x96\xaa\x03f\xe5\x17\xa5`+\[112230 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[99380 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115628 chars]\x95'


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[99903 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115162 chars]\x95'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 LTO 3.9 has failed when building commit 2007624.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/281/builds/613

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 26 sec
  • test_multiprocessing_spawn: 1 min 33 sec
  • test_gdb: 1 min 19 sec
  • test_multiprocessing_forkserver: 1 min 17 sec
  • test_multiprocessing_fork: 1 min 4 sec
  • test_signal: 47.2 sec
  • test_asyncio: 37.9 sec
  • test_peg_generator: 32.8 sec
  • test_io: 32.3 sec
  • test_imaplib: 32.1 sec

1 test failed:
test_zlib

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 3 min 45 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[100115 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115428 chars]\x95'


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


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3838 chars]\xe0Dh\x05\x9c\n\xad\x80+\xa1\x15p&\xb4\x02.\x[110085 chars]\x95' != b'x\x[3838 chars]\xe0D\xb4\n\x98\xda\x15\xb0\x02\x85\x15p\x1e\x[111074 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 238, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[99673 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114912 chars]\x95'


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.9.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3686 chars]803\xd0*`R+`\x052+`\x05:U\xc0\n\x14V\xc0yT\xaa[109577 chars]\x95' != b'x\x[3686 chars]803\xa0\x15p2,\xa6\xa1\x15p>\xb4\x02\xce\x84V\[111742 chars]\x95'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/700/builds/1220

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 31 sec
  • test_multiprocessing_spawn: 1 min 47 sec
  • test_multiprocessing_forkserver: 1 min 18 sec
  • test_multiprocessing_fork: 1 min 5 sec
  • test_gdb: 54.7 sec
  • test_unparse: 50.0 sec
  • test_signal: 47.9 sec
  • test_asyncio: 44.2 sec
  • test_tokenize: 41.5 sec
  • test_capi: 39.9 sec

1 test failed:
test_zlib

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 4 min 32 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[109654 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114139 chars]\x95'


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


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[2043 chars]\xf9E\n%@\x8f\x03\xe3\x14\xe8\xd9\x1c\xa0oK\x1[112968 chars]\x95' != b'x\x[2043 chars]\xf9E`\x8f\x03\xe3\x14\xe8\xd9\x1c\xa0oK\x14\n[112096 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[109716 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[113935 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3513 chars]\x80\x89\xad\x80\xe1\x9a\xa1\x15p*\xb4\x02N\x8[111080 chars]\x95' != b'x\x[3513 chars]\x80\tU\xc0%8*\xe0Th\x05\x9c\n\xad\x80\xf3\xa0[110422 chars]\x95'


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

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 LTO + PGO 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/607/builds/1230

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

410 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 21 sec
  • test_multiprocessing_spawn: 1 min 21 sec
  • test_multiprocessing_forkserver: 1 min 9 sec
  • test_multiprocessing_fork: 1 min 1 sec
  • test_signal: 47.1 sec
  • test_asyncio: 37.0 sec
  • test_io: 34.3 sec
  • test_imaplib: 31.8 sec
  • test_pydoc: 30.9 sec
  • test_xmlrpc: 27.2 sec

1 test failed:
test_zlib

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 3 min 26 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[111684 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115144 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3513 chars]\x80\tU\xc0%8*\xe0Th\x05\x9c\n\xad\x80\xf3\xa0[110422 chars]\x95' != b'x\x[3513 chars]\x80\x89\xad\x80\xe1\x9a\xa1\x15p*\xb4\x02N\x8[110207 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3362 chars]xa4\x88\xad\x80\xad\xa8T\x01\x17\xe3\xa8\x80a\[111939 chars]\x95' != b'x\x[3362 chars]xa4\x08U\xc0%\xd0\n\xd8\nZ\x01\x17A+\xe0\x12h\[111782 chars]\x95'


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


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[109243 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[113720 chars]\x95'


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

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 LTO 3.10 has failed when building commit 516a6d4.

What do you need to do:

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

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/649/builds/1220

Failed tests:

  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase

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

== Tests result: FAILURE then FAILURE ==

411 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 21 sec
  • test_multiprocessing_spawn: 1 min 27 sec
  • test_gdb: 1 min 17 sec
  • test_multiprocessing_forkserver: 1 min 11 sec
  • test_multiprocessing_fork: 1 min 5 sec
  • test_signal: 47.1 sec
  • test_asyncio: 40.0 sec
  • test_io: 34.4 sec
  • test_imaplib: 32.2 sec
  • test_peg_generator: 32.2 sec

1 test failed:
test_zlib

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_nis
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_zlib

Total duration: 4 min 19 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[110299 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114977 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[4275 chars]d\x80\xe1\xd1\n\xad\x80\x15\xa0\x15p&\xb4\x02\[110139 chars]\x95' != b'x\x[4275 chars]d\x80a\xd1\n\xab\x80\xc1r\x19\x89I\x99\xd0\n\x[110702 chars]\x95'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 246, in test_pair
    self.assertEqual(x1 + x2, datazip)
AssertionError: b'x\x9c\xe2\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[110915 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115308 chars]\x95'


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


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


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


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z.lto/build/Lib/test/test_zlib.py", line 189, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[190 chars]5\xaf$\xb5H!\xc0\xdf\xc7\xdf\xcf3\x14a\x81\xa3[114709 chars]\x95' != b'x\x[190 chars]5\xaf\x04(\x18\xe0\xef\xe3\xef\xe7\x19\x8a\xb0[115118 chars]\x95'

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
…52425) (pythonGH-115623)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from python#115138 (comment) .

### Notes

- Please treat as a security fix related to CVE-2023-52425.

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
…nabled addition (pythonGH-116301)

* Increment PyExpat_CAPI_MAGIC due to SetReparseDeferralEnabled addition.

This is a followup to git commit
6a95676 from Github PR python#115623.

* RESTify news API list.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…52425) (pythonGH-115623)

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from python#115138 (comment) .

### Notes

- Please treat as a security fix related to CVE-2023-52425.

Includes code suggested-by: Snild Dolkow <[email protected]>
and by core dev Serhiy Storchaka.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…nabled addition (pythonGH-116301)

* Increment PyExpat_CAPI_MAGIC due to SetReparseDeferralEnabled addition.

This is a followup to git commit
6a95676 from Github PR python#115623.

* RESTify news API list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement type-security A security issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants