Skip to content

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstraJelleZijlstra commented May 17, 2023

During the PEP 695 implementation at one point I made
TypeVar.__name__ return garbage, and all of test_typing passed.
So I decided to add a few more tests. In the process I discovered
a minor incompatibility from the C implementation of TypeVar:
empty constraints were returned as None instead of an empty tuple.

During the PEP 695 implementation at one point I made TypeVar.__name__ return garbage, and all of test_typing passed. So I decided to add a few more tests. In the process I discovered a minor incompatibility from the C implementation of TypeVar: empty constraints were returned as None instead of an empty tuple.
@JelleZijlstraJelleZijlstra merged commit 2693194 into python:mainMay 17, 2023
@JelleZijlstraJelleZijlstra deleted the typevartests branch May 17, 2023 13:08
@JelleZijlstraJelleZijlstra added the needs backport to 3.11 only security fixes label May 17, 2023
@miss-islington
Copy link
Contributor

Thanks @JelleZijlstra for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @JelleZijlstra, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 26931944dd8abd6554249239344fa62b789b9028 3.11

@bedevere-bot
Copy link

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

@bedevere-botbedevere-bot removed the needs backport to 3.11 only security fixes label May 17, 2023
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request May 17, 2023
During the PEP 695 implementation at one point I made TypeVar.__name__ return garbage, and all of test_typing passed. So I decided to add a few more tests. In the process I discovered a minor incompatibility from the C implementation of TypeVar: empty constraints were returned as None instead of an empty tuple.. (cherry picked from commit 2693194) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit that referenced this pull request May 17, 2023
During the PEP 695 implementation at one point I made TypeVar.__name__ return garbage, and all of test_typing passed. So I decided to add a few more tests. (cherry picked from commit 2693194) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
carljm added a commit to carljm/cpython that referenced this pull request May 17, 2023
* main: (26 commits) pythonGH-101520: Move tracemalloc functionality into core, leaving interface in Modules. (python#104508) typing: Add more tests for TypeVar (python#104571) pythongh-104572: Improve error messages for invalid constructs in PEP 695 contexts (python#104573) typing: Use PEP 695 syntax in typing.py (python#104553) pythongh-102153: Start stripping C0 control and space chars in `urlsplit` (python#102508) pythongh-104469: Update README.txt for _testcapi (pythongh-104529) pythonGH-103092: isolate `_elementtree` (python#104561) pythongh-104050: Add typing to Argument Clinic converters (python#104547) pythonGH-103906: Remove immortal refcounting in the interpreter (pythonGH-103909) pythongh-87474: Fix file descriptor leaks in subprocess.Popen (python#96351) pythonGH-103092: isolate `pyexpat` (python#104506) pythongh-75367: Fix data descriptor detection in inspect.getattr_static (python#104517) pythongh-104050: Add more annotations to `Tools/clinic.py` (python#104544) pythongh-104555: Fix isinstance() and issubclass() for runtime-checkable protocols that use PEP 695 (python#104556) pythongh-103865: add monitoring support to LOAD_SUPER_ATTR (python#103866) CODEOWNERS: Assign new PEP 695 files to myself (python#104551) pythonGH-104510: Fix refleaks in `_io` base types (python#104516) pythongh-104539: Fix indentation error in logging.config.rst (python#104545) pythongh-104050: Don't star-import 'types' in Argument Clinic (python#104543) pythongh-104050: Add basic typing to CConverter in clinic.py (python#104538) ...
@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora 3.11 has failed when building commit f106aef.

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

Failed tests:

  • test_tools

Failed subtests:

  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script
  • test_all - test.test___all__.AllTest.test_all

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

== Tests result: FAILURE then FAILURE ==

418 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 41 sec
  • test_tools: 2 min 11 sec
  • test_multiprocessing_spawn: 2 min 10 sec
  • test_multiprocessing_forkserver: 1 min 30 sec
  • test_asyncio: 1 min 18 sec
  • test_multiprocessing_fork: 1 min 15 sec
  • test_tokenize: 1 min 1 sec
  • test_gdb: 53.7 sec
  • test_signal: 49.5 sec
  • test_capi: 42.5 sec

1 test failed:
test_tools

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

2 re-run tests:
test___all__ test_tools

Total duration: 7 min 2 sec

Click to see traceback logs
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 184, in prepare _run_quiet([MAKE, '-C', builddir, 'install']) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 25, in _run_quietreturn subprocess.run( ^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/subprocess.py", line 571, in runraise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmpms_1kyjl/python-build', 'install']' returned non-zero exit status 2. Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_d35f0535' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_f9275c94' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/test___all__.py", line 129, in test_allself.check_all(modname) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/test___all__.py", line 43, in check_allwith warnings_helper.check_warnings( File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/contextlib.py", line 144, in __exit__next(self.gen) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/support/warnings_helper.py", line 185, in _filterwarningsraiseAssertionError("unhandled warning %s"% reraise[0]) AssertionError: unhandled warning{message : DeprecationWarning("invalid escape sequence '\\?'"), category : 'DeprecationWarning', filename : '/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/test_httpservers.py', lineno : 445, line : None} Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/tmpms_1kyjl/cpython/Lib/sysconfig.py", line 715, in get_config_varreturn get_config_vars().get(name) ^^^^^^^^^^^^^^^^^ File "/tmp/tmpms_1kyjl/cpython/Lib/sysconfig.py", line 670, in get_config_vars _init_posix(_CONFIG_VARS) File "/tmp/tmpms_1kyjl/cpython/Lib/sysconfig.py", line 531, in _init_posix _temp =__import__(name, globals(), locals(), ['build_time_vars'], 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ModuleNotFoundError: No module named '_sysconfigdata_d_linux_s390x-linux-gnu' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_f648fa92' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 184, in prepare _run_quiet([MAKE, '-C', builddir, 'install']) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 25, in _run_quietreturn subprocess.run( ^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/subprocess.py", line 571, in runraise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmp9zdlurqb/python-build', 'install']' returned non-zero exit status 2. Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/tmp9zdlurqb/cpython/Lib/sysconfig.py", line 715, in get_config_varreturn get_config_vars().get(name) ^^^^^^^^^^^^^^^^^ File "/tmp/tmp9zdlurqb/cpython/Lib/sysconfig.py", line 670, in get_config_vars _init_posix(_CONFIG_VARS) File "/tmp/tmp9zdlurqb/cpython/Lib/sysconfig.py", line 531, in _init_posix _temp =__import__(name, globals(), locals(), ['build_time_vars'], 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ModuleNotFoundError: No module named '_sysconfigdata_d_linux_s390x-linux-gnu'

@JelleZijlstra
Copy link
MemberAuthor

Looks unrelated

@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora Clang 3.11 has failed when building commit f106aef.

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

Failed tests:

  • test_tools

Failed subtests:

  • test_sys_exit - test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess.test_sys_exit
  • test_shared_memory_SharedMemoryManager_reuses_resource_tracker - test.test_multiprocessing_spawn.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_reuses_resource_tracker
  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script
  • test_stderr_flush - test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess.test_stderr_flush
  • test_no_import_lock_contention - test.test_multiprocessing_spawn.WithProcessesTestQueue.test_no_import_lock_contention
  • test_shared_memory_SharedMemoryManager_basics - test.test_multiprocessing_spawn.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryManager_basics
  • test_shared_memory_SharedMemoryServer_ignores_sigint - test.test_multiprocessing_spawn.WithProcessesTestSharedMemory.test_shared_memory_SharedMemoryServer_ignores_sigint

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

== Tests result: FAILURE then FAILURE ==

418 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 23 sec
  • test_tools: 1 min 55 sec
  • test_multiprocessing_spawn: 1 min 40 sec
  • test_asyncio: 1 min 15 sec
  • test_multiprocessing_forkserver: 1 min 15 sec
  • test_multiprocessing_fork: 1 min 10 sec
  • test_signal: 47.7 sec
  • test_gdb: 47.3 sec
  • test_tokenize: 37.8 sec
  • test_socket: 37.4 sec

1 test failed:
test_tools

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

2 re-run tests:
test_multiprocessing_spawn test_tools

Total duration: 7 min 1 sec

Click to see traceback logs
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 4108, in test_shared_memory_SharedMemoryManager_reuses_resource_tracker rc, out, err = test.support.script_helper.assert_python_ok('-c', cmd) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/script_helper.py", line 166, in assert_python_okreturn _assert_python(True, *args, **env_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/script_helper.py", line 151, in _assert_python res.fail(cmd_line) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/script_helper.py", line 76, in failraiseAssertionError("Process return code is %d\n"AssertionError: Process return code is 1 command line: ['/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/python', '-X', 'faulthandler', '-I', '-c', 'if 1:\n from multiprocessing.managers import SharedMemoryManager\n\n\n smm = SharedMemoryManager()\n smm.start()\n sl = smm.ShareableList(range(10))\n smm.shutdown()\n '] Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 1170, in test_no_import_lock_contentionwith os_helper.temp_cwd(): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/os_helper.py", line 529, in temp_cwdwith temp_dir(path=name, quiet=quiet) as temp_path: File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/os_helper.py", line 467, in temp_dir os.mkdir(path) OSError: [Errno 28] No space left on device: 'tempcwd' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 314, in _bootstrapself.run() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 108, in runself._target(*self._args, **self._kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 592, in _run_server server =cls._Server(registry, address, authkey, serializer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 1280, in __init__ Server.__init__(self, *args, **kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 156, in __init__self.listener = Listener(address=address, backlog=16) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 447, in __init__self._listener = SocketListener(address, family, backlog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 590, in __init__self._socket.bind(address) OSError: [Errno 28] No space left on device Process SharedMemoryManager-322: Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 314, in _bootstrapself.run() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 108, in runself._target(*self._args, **self._kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 592, in _run_server server =cls._Server(registry, address, authkey, serializer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 1280, in __init__ Server.__init__(self, *args, **kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 156, in __init__self.listener = Listener(address=address, backlog=16) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 447, in __init__self._listener = SocketListener(address, family, backlog) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 590, in __init__self._socket.bind(address) OSError: [Errno 28] No space left on device Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_255a0e2e' Process Process-325: Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 314, in _bootstrapself.run() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 108, in runself._target(*self._args, **self._kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 889, in _test_stderr_flush fd = os.open(testfn, os.O_WRONLY| os.O_CREAT| os.O_EXCL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^OSError: [Errno 28] No space left on device: '@test_1499184_tmpæ' Process Process-327: Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 314, in _bootstrapself.run() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 108, in runself._target(*self._args, **self._kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 896, in _test_sys_exit fd = os.open(testfn, os.O_WRONLY| os.O_CREAT| os.O_EXCL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^OSError: [Errno 28] No space left on device: '@test_1499184_tmpæ' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 184, in prepare _run_quiet([MAKE, '-C', builddir, 'install']) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 25, in _run_quietreturn subprocess.run( ^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/subprocess.py", line 571, in runraise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmprpvc68pb/python-build', 'install']' returned non-zero exit status 2. Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_ae3f8d03' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 314, in _bootstrapself.run() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line 108, in runself._target(*self._args, **self._kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 592, in _run_server server =cls._Server(registry, address, authkey, serializer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 1280, in __init__ Server.__init__(self, *args, **kwargs) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 156, in __init__self.listener = Listener(address=address, backlog=16) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 441, in __init__ address = address or arbitrary_address(family) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 76, in arbitrary_addressreturn tempfile.mktemp(prefix='listener-', dir=util.get_temp_dir()) ^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/util.py", line 146, in get_temp_dir tempdir = tempfile.mkdtemp(prefix='pymp-') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line 357, in mkdtemp prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line 126, in _sanitize_paramsdir= gettempdir() ^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line 299, in gettempdirreturn _os.fsdecode(_gettempdir()) ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line 292, in _gettempdir tempdir = _get_default_tempdir() ^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line 223, in _get_default_tempdirraiseFileNotFoundError(_errno.ENOENT, FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/build/test_python_1472889��/test_python_worker_1499184��'] Traceback (most recent call last): File "<string>", line 6, in <module> File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 567, in startself._address = reader.recv() ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 249, in recv buf =self._recv_bytes() ^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 413, in _recv_bytes buf =self._recv(4) ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 382, in _recvraiseEOFError EOFError --- Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 184, in prepare _run_quiet([MAKE, '-C', builddir, 'install']) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 25, in _run_quietreturn subprocess.run( ^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/subprocess.py", line 571, in runraise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmpc03jtvya/python-build', 'install']' returned non-zero exit status 2. Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 4120, in test_shared_memory_SharedMemoryManager_basics smm1.start() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 567, in startself._address = reader.recv() ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 249, in recv buf =self._recv_bytes() ^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 413, in _recv_bytes buf =self._recv(4) ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 382, in _recvraiseEOFError EOFError Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 918, in test_sys_exitwithopen(testfn, encoding="utf-8") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [Errno 2] No such file or directory: '@test_1499184_tmpæ' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 4076, in test_shared_memory_SharedMemoryServer_ignores_sigint smm.start() File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line 567, in startself._address = reader.recv() ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 249, in recv buf =self._recv_bytes() ^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 413, in _recv_bytes buf =self._recv(4) ^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line 382, in _recvraiseEOFError EOFError Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/tmprpvc68pb/cpython/Lib/sysconfig.py", line 715, in get_config_varreturn get_config_vars().get(name) ^^^^^^^^^^^^^^^^^ File "/tmp/tmprpvc68pb/cpython/Lib/sysconfig.py", line 670, in get_config_vars _init_posix(_CONFIG_VARS) File "/tmp/tmprpvc68pb/cpython/Lib/sysconfig.py", line 531, in _init_posix _temp =__import__(name, globals(), locals(), ['build_time_vars'], 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ModuleNotFoundError: No module named '_sysconfigdata_d_linux_s390x-linux-gnu' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_be42f02a' Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/tmpc03jtvya/cpython/Lib/sysconfig.py", line 715, in get_config_varreturn get_config_vars().get(name) ^^^^^^^^^^^^^^^^^ File "/tmp/tmpc03jtvya/cpython/Lib/sysconfig.py", line 670, in get_config_vars _init_posix(_CONFIG_VARS) File "/tmp/tmpc03jtvya/cpython/Lib/sysconfig.py", line 531, in _init_posix _temp =__import__(name, globals(), locals(), ['build_time_vars'], 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ModuleNotFoundError: No module named '_sysconfigdata_d_linux_s390x-linux-gnu' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line 880, in test_stderr_flushwithopen(testfn, encoding="utf-8") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [Errno 2] No such file or directory: '@test_1499184_tmpæ'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora LTO 3.11 has failed when building commit f106aef.

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

Failed tests:

  • test_tools

Failed subtests:

  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script
  • test_extractall_none_mode - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_mode
  • test_extractall_none_uname - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_uname
  • test_extractall_none_gname - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_gname
  • test_extractall_none_ownership - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_ownership
  • test_extractall_none_mtime - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_mtime
  • test_extractall_none_uid - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_uid
  • test_extractall_none_gid - test.test_tarfile.NoneInfoExtractTests_Data.test_extractall_none_gid

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

== Tests result: FAILURE then FAILURE ==

418 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 13 sec
  • test_gdb: 1 min 58 sec
  • test_multiprocessing_spawn: 1 min 27 sec
  • test_multiprocessing_forkserver: 1 min 10 sec
  • test_asyncio: 1 min 5 sec
  • test_multiprocessing_fork: 1 min 3 sec
  • test_signal: 47.1 sec
  • test_socket: 38.1 sec
  • test_imaplib: 32.0 sec
  • test_io: 31.6 sec

1 test failed:
test_tools

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

2 re-run tests:
test_tarfile test_tools

Total duration: 5 min 7 sec

Click to see traceback logs
Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 146, in prepare copy_source_tree(srcdir, SRCDIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree shutil.copytree(oldroot, newroot, ignore=ignore_non_src) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/shutil.py", line 561, in copytreereturn _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/shutil.py", line 515, in _copytreeraise Error(errors) shutil.Error: [('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_datetimemodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_datetimemodule.o', "[Errno 28] No space left on device: '/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_datetimemodule.o' -> '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_datetimemodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/cmathmodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/cmathmodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/cmathmodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_zoneinfo.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_zoneinfo.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_zoneinfo.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_bisectmodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_bisectmodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_bisectmodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_heapqmodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_heapqmodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_heapqmodule.o'"), ('/home/dje/cpython-buil .o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_opcode.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_opcode.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_opcode.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_queuemodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_queuemodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_queuemodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_pickle.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_pickle.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_pickle.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_statisticsmodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_statisticsmodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_statisticsmodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/unicodedata.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/unicodedata.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/unicodedata.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_asynciomodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_asynciomodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_asynciomodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_struct.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_struct.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_struct.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_typingmodule.o', '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_typingmodule.o', "[Errno 28] No space left on device: '/tmp/tmpixcg5mbe/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_typingmodule.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/fcntlmod Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3053, in test_extractall_none_modewithself.extract_with_none('mode') asDIR: File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3079, in test_extractall_none_ownershipwithself.extract_with_none('uid', 'gid', 'uname', 'gname'): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script outdir, scriptfile, python = helper.prepare(script, outdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 146, in prepare copy_source_tree(srcdir, SRCDIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree shutil.copytree(oldroot, newroot, ignore=ignore_non_src) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/shutil.py", line 561, in copytreereturn _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/shutil.py", line 515, in _copytreeraise Error(errors) shutil.Error: [('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/connection.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/connection.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/connection.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/cursor.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/cursor.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/cursor.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/microprotocols.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/microprotocols.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/microprotocols.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/module.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/module.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/module.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/prepare_protocol.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/prepare_protocol.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/prepare_protocol.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/row.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/row.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/row.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/statement.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/statement.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/statement.o'"), ('/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/util.o', '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/util.o', "[Errno 28] No space left on device: '/tmp/tmpdytabqxk/cpython/build/temp.linux-s390x-3.11/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Modules/_sqlite/util.o'"), ('/home/dje/cpython-buildare Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3034, in test_extractall_none_mtimewithself.extract_with_none('mtime') asDIR: File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_07e3046c' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3067, in test_extractall_none_gidwithself.extract_with_none('gid'): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3063, in test_extractall_none_uidwithself.extract_with_none('uid'): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3075, in test_extractall_none_gnamewithself.extract_with_none('gname'): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_e51b2972' Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3071, in test_extractall_none_unamewithself.extract_with_none('uname'): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line 137, in __enter__returnnext(self.gen) ^^^^^^^^^^^^^^ File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3027, in extract_with_noneself.check_files_present(DIR) File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line 3016, in check_files_presentself.assertEqual(self.control_paths, got_paths) AssertionError: Items in the second set but not the first: PosixPath('pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/longname') PosixPath('misc/regtype-old-v7') PosixPath('misc/dirtype-old-v7') PosixPath('misc/regtype-xstar') PosixPath('misc/regtype-hpux-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/regtype-gnu-uid') PosixPath('misc/regtype-old-v7-signed-chksum-ÄÖÜäöüß') PosixPath('gnu/sparse-0.1') PosixPath('gnu/sparse-0.0') PosixPath('misc/regtype-suntar') PosixPath('gnu/sparse-1.0') Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/multiprocessing/resource_tracker.py", line 209, in main cache[rtype].remove(name) KeyError: '/psm_14e85bdf'

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request May 18, 2023
During the PEP 695 implementation at one point I made TypeVar.__name__ return garbage, and all of test_typing passed. So I decided to add a few more tests. In the process I discovered a minor incompatibility from the C implementation of TypeVar: empty constraints were returned as None instead of an empty tuple.
JelleZijlstra added a commit to JelleZijlstra/typing_extensions that referenced this pull request May 21, 2023
I started out trying to backport python/cpython#104571, but realized that it makes sense to backport CPython's whole TypeVarTests class since we now have our own implementation of TypeVar. I dropped test_var_substitution and test_bad_var_substitution since they rely on the internal __typing_subst__ method, and the type substitution logic is generally very hard to get precisely the same across versions.
JelleZijlstra added a commit to python/typing_extensions that referenced this pull request May 21, 2023
I started out trying to backport python/cpython#104571, but realized that it makes sense to backport CPython's whole TypeVarTests class since we now have our own implementation of TypeVar. I dropped test_var_substitution and test_bad_var_substitution since they rely on the internal __typing_subst__ method, and the type substitution logic is generally very hard to get precisely the same across versions.
@JelleZijlstraJelleZijlstra restored the typevartests branch September 10, 2024 23:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@JelleZijlstra@miss-islington@bedevere-bot@AlexWaygood