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-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds #111695

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

moriyama
Copy link
Contributor

@moriyama moriyama commented Nov 3, 2023

iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds when encoding Unicode combining character sequence.

This bug ocurs the following error:

$ python3 -c "print('\u304b\u309a'.encode('iso2022_jp_2004'))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeEncodeError: 'iso2022_jp_2004' codec can't encode character '\u309a' in position 1: illegal multibyte sequence

This PR fixes the out-of-bounds read.

…ecs read out of bounds

iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds when encoding
Unicode combining character sequence.

This bug ocurs the following error:
$ python3 -c "print('\u304b\u309a'.encode('iso2022_jp_2004'))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeEncodeError: 'iso2022_jp_2004' codec can't encode character '\u309a' in position 1: illegal multibyte sequence

This commit fixes the out-of-bounds read.
iso2022_jp_3 and iso2022_jp_2004 are upward compatible with iso2022_jp.
In addition to testing iso2022_jp, we will test the following characters
added in iso2022_jp_3 and iso2022_jp_2004.

  JIS X 0213        Unicode
  ----------------  ---------------------------------------------
  Plane 1 \x2E\x23  U+3402        Basic Multilingual Plane
  Plane 1 \x2E\x22  U+2000B       Supplementary Ideographic Plane
  Plane 1 \x24\x77  U+304B U+309A Combining Character Suqence
  Plane 2 \x21\x22  U+4E02        Basic Multilingual Plane
  Plane 2 \x7E\x76  U+2A6B2       Supplementary Ideographic Plane

The difference between iso2022_jp_3 and iso2022_jp_2004 is the
difference between JIS X 0213:2000 and JIS X 0213:2004.
Tests the following a character added from JIS X 0213:2000 to JIS X
0213:2004.

  JIS X 0213:2004   Unicode
  ----------------  -------
  Plane 1 \x2E\x21  U+4FF1

Escape sequence to designate JIS X 0213 character set to G0:

  character set            ESC sequence
  -----------------------  ---------------------------
  JIS X 0213:2000 Plane 1  ESC 2/4 2/8 4/15  ESC $ ( O
  JIS X 0213:2000 Plane 2  ESC 2/4 2/8 5/0   ESC $ ( P
  JIS X 0213:2004 Plane 1  ESC 2/4 2/8 5/1   ESC $ ( Q
  JIS X 0213:2004 Plane 2  ESC 2/4 2/8 5/0   ESC $ ( P
@corona10
Copy link
Member

corona10 commented Nov 3, 2023

I will take a look at this PR by next week :)
Thank you for your contribution!

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

@corona10 corona10 added needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels Nov 6, 2023
Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

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

LGTM too

@corona10 corona10 merged commit c8faa35 into python:main Nov 6, 2023
35 checks passed
@miss-islington-app
Copy link

Thanks @moriyama for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @moriyama and @corona10, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker c8faa3568afd255708096f6aa8df0afa80cf7697 3.11

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 6, 2023
…ecs read out of bounds (pythongh-111695)

(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 6, 2023

GH-111769 is a backport of this pull request to the 3.12 branch.

@bedevere-app
Copy link

bedevere-app bot commented Nov 6, 2023

GH-111771 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Nov 6, 2023
corona10 pushed a commit to corona10/cpython that referenced this pull request Nov 6, 2023
…004 codecs read out of bounds (pythongh-111695)

(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
corona10 added a commit that referenced this pull request Nov 6, 2023
gh-111771)

[3.11] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695)
(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
corona10 pushed a commit that referenced this pull request Nov 6, 2023
…decs read out of bounds (gh-111695) (gh-111769)

gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695)
(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 6, 2023

GH-111780 is a backport of this pull request to the 3.9 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.9 only security fixes label Nov 6, 2023
ambv pushed a commit to ambv/cpython that referenced this pull request Nov 6, 2023
…04 codecs read out of bounds (pythongh-111695)

(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 6, 2023

GH-111781 is a backport of this pull request to the 3.8 branch.

ambv added a commit that referenced this pull request Nov 6, 2023
…decs read out of bounds (gh-111695) (gh-111779)

(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 FreeBSD 3.10 has failed when building commit 6c2f34f.

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/4) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/4

Failed tests:

  • test_cmd_line_script
  • test_tempfile
  • test_tarfile

Failed subtests:

  • test_flags - test.test_tempfile.TestTemporaryDirectory
  • 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 ==

408 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 14 sec
  • test_multiprocessing_spawn: 1 min 29 sec
  • test_multiprocessing_forkserver: 1 min 16 sec
  • test_multiprocessing_fork: 1 min 9 sec
  • test_signal: 46.3 sec
  • test_asyncio: 42.0 sec
  • test_nntplib: 39.7 sec
  • test_io: 34.4 sec
  • test_subprocess: 33.4 sec
  • test_capi: 32.9 sec

3 tests failed:
test_cmd_line_script test_tarfile test_tempfile

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

3 re-run tests:
test_cmd_line_script test_tarfile test_tempfile

Total duration: 5 min 22 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_57c8771f'


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/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_53e412de'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/test/test_tempfile.py", line 1682, in test_flags
    os.chflags(os.path.join(root, name), flags)
OSError: [Errno 45] Operation not supported: '/tmp/fjdi_ymd/dir0/dir1/dir0/test0.txt'


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_45328æ/@test_45328_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.10.ware-freebsd/build/Lib/test/test_tempfile.py", line 1682, in test_flags
    os.chflags(os.path.join(root, name), flags)
OSError: [Errno 45] Operation not supported: '/tmp/hhy6uxeh/dir1/dir1/dir1/test0.txt'


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_45328æ/test_python_worker_45340æ/@test_45340_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_47f644cc'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x SLES 3.10 has failed when building commit 6c2f34f.

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/1416) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/1416

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 18 sec
  • test_multiprocessing_spawn: 1 min 44 sec
  • test_multiprocessing_forkserver: 1 min 19 sec
  • test_multiprocessing_fork: 1 min 5 sec
  • test_unparse: 52.0 sec
  • test_signal: 47.0 sec
  • test_asyncio: 43.6 sec
  • test_tokenize: 39.8 sec
  • test_io: 37.2 sec
  • test_pydoc: 31.6 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 56 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_edf15c87'


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[4254 chars]\xe0T\xb4\n\x18\xbd\x02\x06\xcbe$&eB+\xe0Jh\x0[110087 chars]\x95' != b'x\x[4254 chars]\xe0Th\x05\xac\x00\xad\x80\xe1\xd1\n\xad\x80\x[110998 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[111997 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115252 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_1a58c4f3'


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_3dd4d098'


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[112295 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115913 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[4567 chars]50\xa9\x15p\n\x9d+`t\'\xa3K\x11\xaa\x80\x81\xc[110870 chars]\x95' != b'x\x[4567 chars]50\xa1\n\x18\xbd\x02N\xa1s\x05\x8c\xeedR+`\xa0[111346 chars]\x95'

@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 FreeBSD14 3.10 has failed when building commit 6c2f34f.

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/3) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/3

Failed tests:

  • test_cmd_line_script
  • test___all__
  • test_tarfile

Failed subtests:

  • test_all - test.test___all__.AllTest
  • 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 ==

402 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 32 sec
  • test_multiprocessing_spawn: 2 min 29 sec
  • test_multiprocessing_forkserver: 1 min 40 sec
  • test_asyncio: 1 min 34 sec
  • test_multiprocessing_fork: 1 min 28 sec
  • test_unparse: 1 min 27 sec
  • test_tokenize: 1 min 9 sec
  • test_subprocess: 58.3 sec
  • test_lib2to3: 57.5 sec
  • test_capi: 56.2 sec

2 tests failed:
test_cmd_line_script test_tarfile

21 tests skipped:
test_dbm_gnu test_devpoll test_epoll test_gdb test_idle test_ioctl
test_msilib test_readline test_spwd test_sqlite test_startfile
test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly
test_turtle test_winconsoleio test_winreg test_winsound
test_zipfile64

3 re-run tests:
test___all__ test_cmd_line_script test_tarfile

Total duration: 8 min 58 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_44792æ/test_python_worker_46030æ/@test_46030_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/test/test___all__.py", line 111, in test_all
    self.check_all(modname)
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/test/test___all__.py", line 26, in check_all
    with warnings_helper.check_warnings(
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/test/support/warnings_helper.py", line 177, in _filterwarnings
    raise AssertionError("unhandled warning %s" % reraise[0])
AssertionError: unhandled warning {message : DeprecationWarning("invalid escape sequence '\\?'"), category : 'DeprecationWarning', filename : '/home/buildbot/buildarea/3.10.opsec-fbsd14/build/Lib/test/test_httpservers.py', lineno : 423, line : None}


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_16529caa'


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_44792æ/@test_44792_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_ff5400b5'


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_3eacf434'

@bedevere-bot
Copy link

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

Hi! The buildbot ARM64 macOS 3.10 has failed when building commit 6c2f34f.

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/1136) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/1136

Failed tests:

  • test_asyncio
  • test_mmap

Failed subtests:

  • test_create_ssl_connection - test.test_asyncio.test_events.PollEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.KqueueEventLoopTests
  • test_access_parameter - test.test_mmap.MmapTests
  • test_create_ssl_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.PollEventLoopTests
  • test_create_ssl_connection - test.test_asyncio.test_events.KqueueEventLoopTests

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

== Tests result: FAILURE then FAILURE ==

404 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 55 sec
  • test_multiprocessing_spawn: 2 min 45 sec
  • test_multiprocessing_forkserver: 1 min 45 sec
  • test_unparse: 1 min 42 sec
  • test_tokenize: 1 min 24 sec
  • test_logging: 1 min 9 sec
  • test_asyncio: 1 min 2 sec
  • test_unicodedata: 59.4 sec
  • test_capi: 58.9 sec
  • test_lib2to3: 58.2 sec

2 tests failed:
test_asyncio test_mmap

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

2 re-run tests:
test_asyncio test_mmap

Total duration: 9 min 22 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/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_781eaa42'


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.10.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_mmap.py", line 244, in test_access_parameter
    m = mmap.mmap(f.fileno(), mapsize, prot=prot)
PermissionError: [Errno 1] Operation not permitted


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_a66b579c'


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

@bedevere-bot
Copy link

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

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

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/1313) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/1313

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: 6 min 43 sec
  • test_concurrent_futures: 2 min 47 sec
  • test_multiprocessing_spawn: 1 min 51 sec
  • test_capi: 1 min 48 sec
  • test_unparse: 1 min 27 sec
  • test_asyncio: 1 min 21 sec
  • test_multiprocessing_forkserver: 1 min 8 sec
  • test_tokenize: 1 min 8 sec
  • test_peg_generator: 1 min 7 sec
  • test_multiprocessing_fork: 1 min 4 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 6287, 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 x86-64 macOS 3.10 has failed when building commit 6c2f34f.

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/681/builds/1283) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/681/builds/1283

Failed tests:

  • test_asyncio

Failed subtests:

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

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

== Tests result: FAILURE then FAILURE ==

408 tests OK.

10 slowest tests:

  • test_unparse: 4 min 15 sec
  • test_multiprocessing_spawn: 3 min 50 sec
  • test_concurrent_futures: 3 min 23 sec
  • test_tokenize: 3 min 2 sec
  • test_lib2to3: 2 min 25 sec
  • test_multiprocessing_forkserver: 2 min 22 sec
  • test_unicodedata: 2 min 7 sec
  • test_capi: 1 min 51 sec
  • test_asyncio: 1 min 50 sec
  • test_pickle: 1 min 15 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: 30 min 32 sec

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


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


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.10.billenstein-macos/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.billenstein-macos/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.billenstein-macos/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.billenstein-macos/build/Lib/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.10.billenstein-macos/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.billenstein-macos/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.billenstein-macos/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.billenstein-macos/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.billenstein-macos/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.billenstein-macos/build/Lib/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.10.billenstein-macos/build/Lib/asyncio/base_events.py", line 1103, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/buildbot/buildarea/3.10.billenstein-macos/build/Lib/asyncio/base_events.py", line 1133, in _create_connection_transport
    await waiter
ConnectionResetError

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 3.10 has failed when building commit 6c2f34f.

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/1210) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/1210

Failed tests:

  • test___all__
  • test_zlib

Failed subtests:

  • test_pair - test.test_zlib.CompressObjectTestCase
  • test_speech128 - test.test_zlib.CompressTestCase
  • test_all - test.test___all__.AllTest

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 28 sec
  • test_multiprocessing_spawn: 1 min 43 sec
  • test_multiprocessing_forkserver: 1 min 35 sec
  • test_multiprocessing_fork: 1 min 7 sec
  • test_gdb: 1 min 1 sec
  • test_unparse: 51.8 sec
  • test_signal: 47.3 sec
  • test_asyncio: 44.4 sec
  • test_tokenize: 40.7 sec
  • test_io: 37.7 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

2 re-run tests:
test___all__ test_zlib

Total duration: 4 min 35 sec

Click to see traceback logs
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_f7ddd761'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test___all__.py", line 111, in test_all
    self.check_all(modname)
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test___all__.py", line 26, in check_all
    with warnings_helper.check_warnings(
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/support/warnings_helper.py", line 177, in _filterwarnings
    raise AssertionError("unhandled warning %s" % reraise[0])
AssertionError: unhandled warning {message : DeprecationWarning("invalid escape sequence '\\?'"), category : 'DeprecationWarning', filename : '/home/dje/cpython-buildarea/3.10.edelsohn-rhel8-z/build/Lib/test/test_httpservers.py', lineno : 423, line : None}


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[3588 chars]0\x12h\x05\\\x04\xad\x80\xdd\xa1\x150\xac:-\x8[111607 chars]\x95' != b'x\x[3588 chars]0\x12\xb4\n\x18W\x05\x9c\x0e\xcd\xbb\xb0\n\x18[110877 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_3912580f'


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[110995 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.10.edelsohn-rhel8-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
    cache[rtype].remove(name)
KeyError: '/psm_9a0bf7a4'


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[110244 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114465 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[1011 chars]xc9\xb0\x98VPp\x82\xda\x92\x96\x08\x0c\xf3\xcc[114342 chars]\x95' != b'x\x[1011 chars]xc9\x88\x98v\x82\xda\x92\x96\x08\x0c\xf3\xcc\x[113724 chars]\x95'

@bedevere-bot
Copy link

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

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

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/1220) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/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 ==

410 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 21 sec
  • test_multiprocessing_spawn: 1 min 20 sec
  • test_multiprocessing_forkserver: 1 min 8 sec
  • test_multiprocessing_fork: 1 min 5 sec
  • test_signal: 46.9 sec
  • test_asyncio: 37.9 sec
  • test_io: 34.2 sec
  • test_imaplib: 32.4 sec
  • test_pydoc: 30.9 sec
  • test_xmlrpc: 27.9 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 5 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\x00\x03\x05\x7f\x[110560 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x00\x03\x05\x7f\x[114365 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[4547 chars]1E\xb8*`\x98\xd3a\x150\xa9\x15p\n\x9d+`t\'\x93[110875 chars]\x95' != b'x\x[4547 chars]1E\xb0\n\x18\xbd\x02\x869\x1dV\x01\x93Z\x01\xa[110841 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_b311ee85'


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[25 chars]e2R\x80\x00\x7f\x1d\x85\xb4\xd4\xc4"\x85\xdcT\[115037 chars]\x95' != b'x\x[25 chars]e2R\x00\x03\x05\x7f\x1d\x85\xb4\xd4\xc4"\x85\x[114340 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_013a4256'


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_57efc2b5'


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[110765 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115388 chars]\x95'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x RHEL8 LTO 3.10 has failed when building commit 6c2f34f.

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/1210) and take a look at the build logs.
  4. Check if the failure is related to this commit (6c2f34f) 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/1210

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 24 sec
  • test_multiprocessing_spawn: 1 min 26 sec
  • test_gdb: 1 min 17 sec
  • test_multiprocessing_forkserver: 1 min 10 sec
  • test_multiprocessing_fork: 1 min 4 sec
  • test_signal: 48.6 sec
  • test_asyncio: 38.0 sec
  • test_io: 34.4 sec
  • test_imaplib: 32.0 sec
  • test_peg_generator: 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: 3 min 42 sec

Click to see traceback logs
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_cefad49d'


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[110680 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115094 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[3433 chars]8\xb1\x8a\xab\x02\xce\xc7Q\x01\xc34\x81\x92Byf[111614 chars]\x95' != b'x\x[3433 chars]8\xb1Jj\x05\x0c\xd3\x04J\n\xe5\x99y)\xb0\nX\x0[110671 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_56a8505c'


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[4162 chars]1\x97\xa1U\xc0\xe8\x15p%\x8e\n8\x03Z\x01\'C+`\[109808 chars]\x95' != b'x\x[4162 chars]1\x97A+`\x05h\x05\xac\x00\xad\x80K\xa0\x15p%\x[110932 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_0baf93ed'


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[109770 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114104 chars]\x95'

ambv added a commit that referenced this pull request Nov 6, 2023
…ecs read out of bounds (gh-111695) (gh-111780)

(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
ambv added a commit that referenced this pull request Nov 6, 2023
…ecs read out of bounds (gh-111695) (gh-111781)

(cherry picked from commit c8faa35)

Co-authored-by: Masayuki Moriyama <[email protected]>
@bedevere-bot
Copy link

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

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

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/2) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/2

Failed tests:

  • test_tempfile
  • test_tarfile

Failed subtests:

  • test_flags - test.test_tempfile.TestTemporaryDirectory
  • test_modes - test.test_tarfile.TestExtractionFilters

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 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: 41.3 sec
  • test_capi: 38.7 sec
  • test_io: 34.5 sec
  • test_socket: 33.8 sec
  • test_pydoc: 31.4 sec

2 tests failed:
test_tarfile test_tempfile

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

2 re-run tests:
test_tarfile test_tempfile

Total duration: 5 min 31 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/test/test_tempfile.py", line 1517, in test_flags
    os.chflags(os.path.join(root, name), flags)
OSError: [Errno 45] Operation not supported: '/tmp/xe09a4a1/dir1/dir0/dir1/test1.txt'


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_a9f0ec8a'


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_303806f7'


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_e44243c3'


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_2671æ/@test_2671_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_2671æ/test_python_worker_5526æ/@test_5526_tmpæ-tardir/tmp.file'


Traceback (most recent call last):
  File "/buildbot/buildarea/3.9.ware-freebsd/build/Lib/test/test_tempfile.py", line 1517, in test_flags
    os.chflags(os.path.join(root, name), flags)
OSError: [Errno 45] Operation not supported: '/tmp/9ua4e8o3/dir1/dir0/dir1/test0.txt'

@bedevere-bot
Copy link

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

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

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/687) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/687

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 25 sec
  • test_multiprocessing_spawn: 1 min 37 sec
  • test_multiprocessing_forkserver: 1 min 28 sec
  • test_multiprocessing_fork: 1 min 8 sec
  • test_unparse: 51.6 sec
  • test_signal: 47.4 sec
  • test_tokenize: 46.4 sec
  • test_asyncio: 42.9 sec
  • test_io: 37.3 sec
  • test_capi: 32.5 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 5 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_b257cf9f'


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_9050c872'


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[97879 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[113106 chars]\x95'


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[2299 chars]c\x94X\xa2\x07\xcf\x04\xa9\x99\xe02*Q!)\xbf\xa[113846 chars]\x95' != b'x\x[2299 chars]c\x94\x88\xf0\xbe_j&\xb8\x8cJTH\xca/*\xca/\x07[112572 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_9293a5fe'


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[100734 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[114871 chars]\x95'


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[3553 chars]02N\x85V\xc0y\xd0\n8\x17Z\x01+@+\xe0\x12h\x05\[111732 chars]\x95' != b'x\x[3553 chars]02N\xa5R\x05\x9c\x0e\xcd\xbb\xb0\n\x18V\x01\xe[109553 chars]\x95'

@bedevere-bot
Copy link

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

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

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/606) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/606

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 29 sec
  • test_multiprocessing_spawn: 1 min 50 sec
  • test_multiprocessing_fork: 1 min 26 sec
  • test_multiprocessing_forkserver: 1 min 22 sec
  • test_gdb: 1 min 3 sec
  • test_unparse: 52.6 sec
  • test_capi: 51.2 sec
  • test_signal: 48.1 sec
  • test_tokenize: 46.9 sec
  • test_asyncio: 42.7 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: 6 min

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 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[101588 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115682 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_b46ae68f'


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[99344 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115116 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[4349 chars]a6z\xb0T\xc0\x83\xbd\x02\x86\xf9\x85\xd8\n\x18[110244 chars]\x95' != b'x\x[4349 chars]a6z\xa4W\xc0\xc4V\xc00\xbf\x10[\x01\xc3t\xc0*\[111333 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[656 chars]xa9\xc00J\xacTO\x01\x99\xab\x072\xaa(\xd5\x1a\[112946 chars]\x95' != b'x\x[656 chars]xa9\xe00RO\x01\x99\xab\x072\xaa(\xd5\x1a\x18<\[114460 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_e058f753'


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_5349eab8'

@bedevere-bot
Copy link

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

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

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/407) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/407

Failed tests:

  • test_asyncio
  • test_mmap

Failed subtests:

  • test_create_ssl_connection - test.test_asyncio.test_events.PollEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.KqueueEventLoopTests
  • test_access_parameter - test.test_mmap.MmapTests
  • test_create_ssl_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.SelectEventLoopTests
  • test_create_ssl_unix_connection - test.test_asyncio.test_events.PollEventLoopTests
  • test_create_ssl_connection - test.test_asyncio.test_events.KqueueEventLoopTests

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

== Tests result: FAILURE then FAILURE ==

404 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 57 sec
  • test_multiprocessing_spawn: 2 min 37 sec
  • test_multiprocessing_forkserver: 1 min 52 sec
  • test_unparse: 1 min 45 sec
  • test_tokenize: 1 min 36 sec
  • test_capi: 1 min 10 sec
  • test_lib2to3: 1 min 5 sec
  • test_asyncio: 1 min 5 sec
  • test_unicodedata: 55.9 sec
  • test_logging: 55.6 sec

2 tests failed:
test_asyncio test_mmap

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

2 re-run tests:
test_asyncio test_mmap

Total duration: 8 min 56 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 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/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/test/test_mmap.py", line 243, in test_access_parameter
    m = mmap.mmap(f.fileno(), mapsize, prot=prot)
PermissionError: [Errno 1] Operation not permitted


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_37f5b98c'


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_13dfba0a'

@bedevere-bot
Copy link

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

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

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/1) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/1

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 ==

404 tests OK.

10 slowest tests:

  • test_multiprocessing_spawn: 2 min 37 sec
  • test_concurrent_futures: 2 min 35 sec
  • test_multiprocessing_forkserver: 1 min 44 sec
  • test_asyncio: 1 min 37 sec
  • test_multiprocessing_fork: 1 min 32 sec
  • test_unparse: 1 min 27 sec
  • test_tokenize: 1 min 27 sec
  • test_capi: 1 min 6 sec
  • test_lib2to3: 59.6 sec
  • test_subprocess: 58.1 sec

1 test failed:
test_tarfile

20 tests skipped:
test_dbm_gnu test_devpoll test_epoll test_gdb test_idle test_ioctl
test_msilib test_spwd test_sqlite test_startfile test_tcl test_tix
test_tk test_ttk_guionly test_ttk_textonly test_turtle
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_tarfile

Total duration: 9 min 53 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_f9f572ee'


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_04c58457'


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_22677782'


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_88440æ/@test_88440_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_88440æ/test_python_worker_91905æ/@test_91905_tmpæ-tardir/tmp.file'

@bedevere-bot
Copy link

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

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

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/606) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/606

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 24 sec
  • test_multiprocessing_spawn: 1 min 23 sec
  • test_multiprocessing_forkserver: 1 min 9 sec
  • test_multiprocessing_fork: 1 min 2 sec
  • test_signal: 47.0 sec
  • test_asyncio: 37.5 sec
  • test_io: 34.6 sec
  • test_imaplib: 31.9 sec
  • test_pydoc: 30.8 sec
  • test_faulthandler: 28.6 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 36 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_f1b5e133'


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[726 chars]xd8\xe7\x98\x97\x02\x12(N\x05\x06z\xb9BAQjrj\x[113170 chars]\x95' != b'x\x[726 chars]xd8\x07\xd4\x0c\x12(N\x05\x06z\xb9BAQjrj\x01\x[114285 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[2557 chars]E\x95\x88<\x03\xceuI\xf9\xc0\xd8J\xcc\xc9\xb1\[113369 chars]\x95' != b'x\x[2557 chars]E\x95z\\\xf0r&\xb3X!1)\x1f\x18[\x8999V\x90\xc4[111399 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_8cb285dd'


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[101628 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115011 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[99534 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[113956 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_d088ce1d'

@bedevere-bot
Copy link

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

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

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/646) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/646

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 16 sec
  • test_concurrent_futures: 2 min 45 sec
  • test_capi: 1 min 56 sec
  • test_multiprocessing_spawn: 1 min 43 sec
  • test_unparse: 1 min 24 sec
  • test_multiprocessing_forkserver: 1 min 19 sec
  • test_asyncio: 1 min 17 sec
  • test_tokenize: 1 min 13 sec
  • test_multiprocessing_fork: 1 min
  • test_peg_generator: 56.0 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: 8 min 29 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 6268, 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 3.9 has failed when building commit 08b640e.

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/606) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/606

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 35 sec
  • test_gdb: 1 min 16 sec
  • test_multiprocessing_forkserver: 1 min 10 sec
  • test_multiprocessing_fork: 1 min 4 sec
  • test_signal: 46.8 sec
  • test_asyncio: 37.5 sec
  • test_io: 34.6 sec
  • test_peg_generator: 32.4 sec
  • test_imaplib: 31.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 29 sec

Click to see traceback logs
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_8d7a4061'


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[99519 chars]\x95' != b'x\x9c\xe3\xf2qt\r\nq\r\xe6\xe2R\x80\x00\x7f\x1d\x[115667 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_6d779599'


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[1410 chars]@\x16P\x0b$\x19\xa5)\xa4&&g(\xe4\xa5\x96\xebf$[114441 chars]\x95' != b'x\x[1410 chars]@\x16L\x8b\x7f\x9aBjbr\x86B^j\xb9nFbIr\x86z\x8[112729 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 181, in test_speech128
    self.assertEqual(zlib.compress(bytearray(data)), x)
AssertionError: b'x\x[3406 chars]a\x8eI\x86V\xc0\xb0\n\xb8\x00Z\x01\xa3W\xc0\xe[111670 chars]\x95' != b'x\x[3406 chars]a\x8eA\xaf\x80\x0bpT\xc0\xe8\xb1Jj\x05\x0c\xd3[112261 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[99541 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.9.edelsohn-rhel8-z.lto/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_a9cc321f'

@bedevere-bot
Copy link

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

Hi! The buildbot x86-64 macOS 3.9 has failed when building commit 08b640e.

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/108/builds/628) and take a look at the build logs.
  4. Check if the failure is related to this commit (08b640e) 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/108/builds/628

Failed tests:

  • test_asyncio

Failed subtests:

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

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

== Tests result: FAILURE then FAILURE ==

408 tests OK.

10 slowest tests:

  • test_multiprocessing_spawn: 4 min 14 sec
  • test_concurrent_futures: 3 min 38 sec
  • test_unparse: 3 min 34 sec
  • test_tokenize: 3 min 31 sec
  • test_multiprocessing_forkserver: 2 min 33 sec
  • test_lib2to3: 2 min 28 sec
  • test_unicodedata: 2 min 1 sec
  • test_capi: 1 min 53 sec
  • test_asyncio: 1 min 46 sec
  • test_pickle: 1 min 6 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: 30 min 5 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.9.billenstein-macos/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.billenstein-macos/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.billenstein-macos/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.billenstein-macos/build/Lib/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.9.billenstein-macos/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.billenstein-macos/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.billenstein-macos/build/Lib/multiprocessing/resource_tracker.py", line 201, in main
    cache[rtype].remove(name)
KeyError: '/psm_4a30fe38'


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


Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.9.billenstein-macos/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.billenstein-macos/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.billenstein-macos/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.billenstein-macos/build/Lib/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/Users/buildbot/buildarea/3.9.billenstein-macos/build/Lib/asyncio/base_events.py", line 1090, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/buildbot/buildarea/3.9.billenstein-macos/build/Lib/asyncio/base_events.py", line 1120, in _create_connection_transport
    await waiter
ConnectionResetError

@moriyama
Copy link
Contributor Author

moriyama commented Nov 7, 2023

Thank you for merging the fix.

hugovk pushed a commit to hugovk/cpython that referenced this pull request Nov 8, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants